~alexdavid/dotfiles

ref: e41da60478508d45b875ef7aa13ebb77d2fa90fb dotfiles/nvim/plugin/lsc.vim -rw-r--r-- 662 bytes
e41da604 — Alex David Add mpd config 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
let g:lsc_server_commands = {
\  'go': {
\    'command': 'gopls serve',
\    'log_level': -1,
\    'suppress_stderr': v:true,
\  },
\  'rust': {
\    'command': 'rls',
\    'log_level': -1,
\    'suppress_stderr': v:true,
\  },
\  'typescript': {
\    'command': 'docker run --rm -i -v $PWD:$PWD alexdavid/ts-lsp',
\    'log_level': -1,
\    'suppress_stderr': v:true,
\  },
\  'typescript.tsx': {
\    'command': 'docker run --rm -i -v $PWD:$PWD alexdavid/ts-lsp',
\    'log_level': -1,
\    'suppress_stderr': v:true,
\  },
\}

let g:lsc_auto_map = {
\  'GoToDefinition': '<C-]>',
\  'GoToDefinitionSplit': ['<C-W>]', '<C-W><C-]>'],
\  'ShowHover': v:true,
\}