diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 86e12f0..94ab68c 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -33,11 +33,12 @@ set completeopt=noinsert,menuone let g:LanguageClient_serverCommands = { \ 'haskell': ['hie-wrapper', '--lsp'], \ 'rust': ['rustup', 'run', 'stable', 'rls'], - \ 'c': ['cquery'], + \ 'c': ['clangd'], \ 'crystal': ['scry'], - \ 'cpp': ['cquery'], + \ 'cpp': ['clangd'], \ 'javascript': ['javascript-typescript-stdio'], - \ 'elm': ['elm-language-server', '--stdio'] + \ 'elm': ['elm-language-server', '--stdio'], + \ 'python': ['python', '-m', 'pyls'] \ } let g:deoplete#enable_at_startup = 1 let g:LanguageClient_diagnosticsDisplay = { @@ -49,4 +50,7 @@ let g:LanguageClient_rootMarkers = { \ 'haskell': ['.git'], \ 'elm': ['elm.json'], \ } + colorscheme nord +nmap K :call LanguageClient_contextMenu() +nmap ? :call LanguageClient_textDocument_hover()