~gpanders/dotfiles

ref: af27400a242db165fbf0d1ee228af060a0cb63db dotfiles/.vim/plugin/lsc.vim -rw-r--r-- 933 bytes
af27400aGregory Anders alacritty: use absolute paths in imports a month 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
let g:lsc_auto_map = {
            \   'defaults': v:true,
            \   'FindReferences': '<C-_>r',
            \   'NextReference': ']r',
            \   'PreviousReference': '[r',
            \   'FindImplementations': '<C-_>I',
            \   'DocumentSymbol': '<C-_>o',
            \   'WorkspaceSymbol': '<C-_>S',
            \   'FindCodeActions': '<C-_>a',
            \   'Rename': '<C-_>R',
            \   'SignatureHelp': '<C-_>m',
            \ }

let g:lsc_enable_diagnostics = v:false

" Configure LSP servers
let g:lsc_server_commands = {
            \ 'python': {'command': 'pyls', 'suppress_stderr': v:true},
            \ 'c': {'command': 'clangd', 'suppress_stderr': v:true},
            \ 'go': {'command': 'gopls serve', 'log_level': -1, 'suppress_stderr': v:true},
            \ 'rust': {'command': 'rls', 'suppress_stderr': v:true},
            \ }

let g:lsc_server_commands.cpp = g:lsc_server_commands.c