update config to conform to new plugin version
This commit is contained in:
parent
a7a506003a
commit
46f5107fd0
2 changed files with 8 additions and 9 deletions
|
@ -49,14 +49,14 @@ local on_attach = function(client, bufnr)
|
|||
end
|
||||
|
||||
local opts = { noremap = true, silent = true }
|
||||
buf_set_keymap('n', 'gd', '<cmd>Telescope lsp_definitions<CR>', opts)
|
||||
buf_set_keymap('n', 'gh', '<cmd>lua vim.lsp.buf.hover()<CR>', opts)
|
||||
buf_set_keymap('n', 'gD', '<cmd>Telescope lsp_implementations<CR>', opts)
|
||||
buf_set_keymap('n', 'gs', '<cmd>lua vim.lsp.buf.signature_help()<CR>', opts)
|
||||
buf_set_keymap('n', 'gR', '<cmd>lua vim.lsp.buf.rename()<CR>', opts)
|
||||
buf_set_keymap('n', 'gH', '<cmd>Telescope lsp_code_actions()<CR>', opts)
|
||||
buf_set_keymap('n', 'gr', '<cmd>Telescope lsp_references<CR>', opts)
|
||||
buf_set_keymap('n', 'ge', '<cmd>lua vim.diagnostic.open_float()<CR>', opts)
|
||||
buf_set_keymap("n", "gd", "<cmd>Telescope lsp_definitions<CR>", opts)
|
||||
buf_set_keymap("n", "gh", "<cmd>lua vim.lsp.buf.hover()<CR>", opts)
|
||||
buf_set_keymap("n", "gD", "<cmd>Telescope lsp_implementations<CR>", opts)
|
||||
buf_set_keymap("n", "gs", "<cmd>lua vim.lsp.buf.signature_help()<CR>", opts)
|
||||
buf_set_keymap("n", "gR", "<cmd>lua vim.lsp.buf.rename()<CR>", opts)
|
||||
buf_set_keymap("n", "gH", "<cmd>Telescope lsp_code_actions<CR>", opts)
|
||||
buf_set_keymap("n", "gr", "<cmd>Telescope lsp_references<CR>", opts)
|
||||
buf_set_keymap("n", "ge", "<cmd>lua vim.diagnostic.open_float()<CR>", opts)
|
||||
end
|
||||
|
||||
local lsp_installer = require 'nvim-lsp-installer'
|
||||
|
|
|
@ -50,7 +50,6 @@ vim.cmd [[hi NvimTreeEmptyFolderName guifg=#D1D5DB ]]
|
|||
|
||||
-- setup
|
||||
require'nvim-tree'.setup {
|
||||
auto_close = true,
|
||||
update_cwd = true,
|
||||
update_to_buf_dir = {
|
||||
enable = true,
|
||||
|
|
Loading…
Add table
Reference in a new issue