diff --git a/nvim/mappings.vim b/nvim/mappings.vim index edfb182..6b2519f 100644 --- a/nvim/mappings.vim +++ b/nvim/mappings.vim @@ -35,10 +35,10 @@ nnoremap p :Neoformat " lsp mappings imap (completion_trigger) -nnoremap gd lua vim.lsp.buf.definition() -nnoremap gh lua vim.lsp.buf.hover() -nnoremap gH lua vim.lsp.buf.code_action() -nnoremap gD lua vim.lsp.buf.implementation() -nnoremap gs lua vim.lsp.buf.signature_help() -nnoremap gr lua vim.lsp.buf.references() -nnoremap gR lua vim.lsp.buf.rename() +nnoremap gd lua vim.lsp.buf.definition() +nnoremap gh lua vim.lsp.buf.hover() +nnoremap gH lua vim.lsp.buf.code_action() +nnoremap gD lua vim.lsp.buf.implementation() +nnoremap gs lua vim.lsp.buf.signature_help() +nnoremap gr lua vim.lsp.buf.references() +nnoremap gR lua vim.lsp.buf.rename() diff --git a/nvim/pluginoptions.vim b/nvim/pluginoptions.vim index 4cd5df0..92c7bfe 100644 --- a/nvim/pluginoptions.vim +++ b/nvim/pluginoptions.vim @@ -101,7 +101,7 @@ let g:goyo_linenr = 0 lua require'lspconfig'.tsserver.setup{ on_attach=require'completion'.on_attach } lua require'lspconfig'.intelephense.setup{ on_attach=require'completion'.on_attach } lua require'lspconfig'.vuels.setup{ on_attach=require'completion'.on_attach } -lua require'lspconfig'.pyls.setup{ on_attach=require'completion'.on_attach } +lua require'lspconfig'.pylsp.setup{ on_attach=require'completion'.on_attach } lua require'lspconfig'.texlab.setup{ on_attach=require'completion'.on_attach } lua <