diff options
author | rafa_99 <raroma09@gmail.com> | 2021-12-03 19:12:12 +0000 |
---|---|---|
committer | rafa_99 <raroma09@gmail.com> | 2021-12-03 19:12:12 +0000 |
commit | 0f74b3ac5779474fcc314f0414a00d7044ff6066 (patch) | |
tree | 01d0cfb7680ea4dfeea59388a9c2574de5b09adf /neovim/.config | |
parent | fff7c1323216d39ed1f7743a17fec26e0bae8f93 (diff) |
Updated Rice
Diffstat (limited to 'neovim/.config')
-rw-r--r-- | neovim/.config/nvim/init.vim | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 9135f52..56d58fb 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -22,7 +22,7 @@ call plug#end() " Alt + H,J,K,L -> Movement between splits " Control + T -> Opens up NERDTree " Control + Z -> Toggles Tag List from current program -" :Dox -> Runs doxygen documentation program +" Control + C -> Runs doxygen documentation program " " Custom Settings @@ -87,10 +87,15 @@ map <C-c> :Dox<CR> " LSP Configuration lua << EOF + +-- Setup module settings before setting up modules +local capabilities = vim.lsp.protocol.make_client_capabilities() +capabilities.textDocument.completion.completionItem.snippetSupport = true + require'lspconfig'.clangd.setup{} -require'lspconfig'.pylsp.setup{} +require'lspconfig'.pyright.setup{} require'lspconfig'.tsserver.setup{} -require'lspconfig'.html.setup{} +require'lspconfig'.html.setup{ capabilities = capabilities } require'lspconfig'.cssls.setup{} require'lspconfig'.omnisharp.setup{ cmd = { (os.getenv("XDG_DATA_HOME")) .. "/omnisharp/run", "--languageserver" , "--hostPID", tostring(vim.fn.getpid()) }} EOF |