This commit is contained in:
elkowar 2021-05-03 18:35:39 +02:00
parent 17738ca136
commit f901a5d71a
2 changed files with 9 additions and 9 deletions

View file

@ -4,7 +4,8 @@
utils utils utils utils
fennel aniseed.fennel fennel aniseed.fennel
wk which-key wk which-key
treesitter-selection nvim-treesitter.incremental_selection} treesitter-selection nvim-treesitter.incremental_selection
trouble trouble}
require-macros [macros]}) require-macros [macros]})
@ -41,13 +42,13 @@
"v" (cmd "Lspsaga code_action" "Apply codeaction") "v" (cmd "Lspsaga code_action" "Apply codeaction")
"a" (cmd "Lspsaga show_cursor_diagnostics" "Cursor diagnostics") "a" (cmd "Lspsaga show_cursor_diagnostics" "Cursor diagnostics")
"A" (cmd "Lspsaga show_line_diagnostics" "Line diagnostics") "A" (cmd "Lspsaga show_line_diagnostics" "Line diagnostics")
"E" (cmd "Telescope lsp_workspace_diagnostics" "List diagnostics") "h" (cmd "RustToggleInlayHints" "Toggle inlay hints")
"r" (cmd "Telescope lsp_references" "Show references") "r" [#(trouble.open "lsp_references") "Show references"]
"e" (cmd "LspTroubleOpen" "Show diagnostics") "E" [#(trouble.open "lsp_document_diagnostics") "List diagnostics"]
"e" [#(trouble.open "lsp_workspace_diagnostics") "Show diagnostics"]
"g" [vim.lsp.buf.definition "Go to definition"] "g" [vim.lsp.buf.definition "Go to definition"]
"i" [vim.lsp.buf.implementation "Show implementation"] "i" [vim.lsp.buf.implementation "Show implementation"]
"f" [vim.lsp.buf.formatting "format file"] "f" [vim.lsp.buf.formatting "format file"]}
"h" (cmd "RustToggleInlayHints" "Toggle inlay hints")}
"f" {:name "+folds" "f" {:name "+folds"
"o" (cmd "foldopen" "open fold") "o" (cmd "foldopen" "open fold")

View file

@ -56,7 +56,6 @@ require("packer").startup(function(use)
-- general purpose lua wrappers for nvim stuff -- general purpose lua wrappers for nvim stuff
use "norcalli/nvim.lua" use "norcalli/nvim.lua"
use "akinsho/nvim-bufferline.lua" use "akinsho/nvim-bufferline.lua"
use "tweekmonster/startuptime.vim" use "tweekmonster/startuptime.vim"
use "tpope/vim-repeat" use "tpope/vim-repeat"
@ -148,8 +147,8 @@ require("packer").startup(function(use)
use "nvim-lua/plenary.nvim" use "nvim-lua/plenary.nvim"
use "nvim-telescope/telescope.nvim" use "nvim-telescope/telescope.nvim"
use "RishabhRD/popfix" --use "RishabhRD/popfix"
use "RishabhRD/nvim-lsputils" --use "RishabhRD/nvim-lsputils"
use "nvim-telescope/telescope-media-files.nvim" use "nvim-telescope/telescope-media-files.nvim"