diff options
-rw-r--r-- | nvim/.config/nvim/lua/lsp-config.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nvim/.config/nvim/lua/lsp-config.lua b/nvim/.config/nvim/lua/lsp-config.lua index a7c28c5..a2d6ccb 100644 --- a/nvim/.config/nvim/lua/lsp-config.lua +++ b/nvim/.config/nvim/lua/lsp-config.lua @@ -18,7 +18,6 @@ local on_attach = function(client, bufnr) buf_set_keymap('n', 'gi', '<cmd>lua vim.lsp.buf.implementation()<CR>', opts) buf_set_keymap('n', 'gr', '<cmd>lua vim.lsp.buf.references()<CR>', opts) buf_set_keymap('n', 'K', '<cmd>lua vim.lsp.buf.hover()<CR>', opts) - buf_set_keymap('n', '<C-k>', '<cmd>lua vim.lsp.buf.signature_help()<CR>', opts) buf_set_keymap('n', '<leader>rn', '<cmd>lua vim.lsp.buf.rename()<CR>', opts) buf_set_keymap('n', '<leader>ca', '<cmd>lua vim.lsp.buf.code_action()<CR>', opts) end @@ -58,6 +57,12 @@ nvim_lsp.pylsp.setup{ capabilities = capabilities, } +nvim_lsp.ccls.setup { + on_attach = on_attach, + flags = flags, + capabilities = capabilities, +} + -- Lua local runtime_path = vim.split(package.path, ';') table.insert(runtime_path, "lua/?.lua") |