diff --git a/vimrc b/vimrc index bc1a65f..99ac031 100644 --- a/vimrc +++ b/vimrc @@ -208,6 +208,9 @@ lua <rn lua vim.lsp.buf.rename() nnoremap ca lua vim.lsp.buf.code_action() nnoremap gr lua vim.lsp.buf.references() nnoremap e lua vim.lsp.diagnostic.show_line_diagnostics() -nnoremap [d lua vim.lsp.diagnostic.goto_prev() -nnoremap ]d lua vim.lsp.diagnostic.goto_next() +nnoremap [d lua vim.diagnostic.goto_prev() +nnoremap ]d lua vim.diagnostic.goto_next() nnoremap q lua vim.lsp.diagnostic.set_loclist() nnoremap f lua vim.lsp.buf.formatting() @@ -386,6 +389,7 @@ nnoremap ff Telescope find_files nnoremap fg Telescope live_grep nnoremap fb Telescope buffers nnoremap fh Telescope help_tags +nnoremap fs lua require 'telescope.builtin.lsp'.dynamic_workspace_symbols({symbol_type_width=1, symbol_width=50}) else