fix lsp_keymap
This commit is contained in:
@@ -29,7 +29,6 @@ call plug#begin()
|
||||
call plug#end()
|
||||
|
||||
source $HOME/.config/nvim/templates/general.vim
|
||||
source $HOME/.config/nvim/templates/lsp_keymap.vim
|
||||
|
||||
" Theme
|
||||
colorscheme OceanicNext
|
||||
@@ -88,7 +87,9 @@ lua <<EOF
|
||||
})
|
||||
-- Use an on_attach function to only map the following keys
|
||||
-- after the language server attaches to the current buffer
|
||||
local on_attach = attach_lsp
|
||||
local lsp_keymap = require('lsp_keymap')
|
||||
local on_attach = lsp_keymap.attach(client, bufnr)
|
||||
|
||||
|
||||
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||
lsp_installer.on_server_ready(function(server)
|
||||
|
||||
Reference in New Issue
Block a user