nvim: updated plugins, fixed minor errors in keymaps

master
tiyn 11 months ago
parent b134ff0302
commit 3a8523c9c7

@ -46,7 +46,7 @@
"renamer.nvim": { "branch": "develop", "commit": "1614d466df53899f11dd5395eaac3c09a275c384" }, "renamer.nvim": { "branch": "develop", "commit": "1614d466df53899f11dd5395eaac3c09a275c384" },
"spelunker.vim": { "branch": "master", "commit": "a0bc530f62798bbe053905555a4aa9ed713485eb" }, "spelunker.vim": { "branch": "master", "commit": "a0bc530f62798bbe053905555a4aa9ed713485eb" },
"tabular": { "branch": "master", "commit": "339091ac4dd1f17e225fe7d57b48aff55f99b23a" }, "tabular": { "branch": "master", "commit": "339091ac4dd1f17e225fe7d57b48aff55f99b23a" },
"tccs.nvim": { "branch": "master", "commit": "fa75ae924ac0131c6f4c68b9ad4d18e0a8f5e14d" }, "tccs.nvim": { "branch": "master", "commit": "3b3a1859ccaec19b0b5b91dab1144184dd3896b7" },
"telescope.nvim": { "branch": "master", "commit": "776b509f80dd49d8205b9b0d94485568236d1192" }, "telescope.nvim": { "branch": "master", "commit": "776b509f80dd49d8205b9b0d94485568236d1192" },
"tidy.nvim": { "branch": "triggerable-tidy", "commit": "1cbed7676273057c8af22438deaae73cd5cb96b5" }, "tidy.nvim": { "branch": "triggerable-tidy", "commit": "1cbed7676273057c8af22438deaae73cd5cb96b5" },
"todo-comments.nvim": { "branch": "main", "commit": "833d8dd8b07eeda37a09e99460f72a02616935cb" }, "todo-comments.nvim": { "branch": "main", "commit": "833d8dd8b07eeda37a09e99460f72a02616935cb" },

@ -86,12 +86,12 @@ m.nmap("<leader>gdc", ":DiffviewClose<CR>", "Git: close diff")
m.nmap("<leader>x", ":TroubleToggle<CR>", "LSP: toggle error list") m.nmap("<leader>x", ":TroubleToggle<CR>", "LSP: toggle error list")
-- hrsh7th/nvim-cmp -- hrsh7th/nvim-cmp
m.nnoremap("gd", vim.lsp.buf.definition, "LSP: goto definition") m.nnoremap("gd", vim.lsp.buf.definition(), "LSP: goto definition")
m.nnoremap("gD", vim.lsp.buf.declaration, "LSP: goto declaration") m.nnoremap("gD", vim.lsp.buf.declaration(), "LSP: goto declaration")
m.nnoremap("gi", vim.lsp.buf.implementation, "LSP: list implementation") m.nnoremap("gi", vim.lsp.buf.implementation(), "LSP: list implementation")
m.nnoremap("gr", vim.lsp.buf.references, "LSP: list references") m.nnoremap("gr", vim.lsp.buf.references(), "LSP: list references")
m.nnoremap("gy", vim.lsp.buf.type_definition, "LSP: goto type definition") m.nnoremap("gy", vim.lsp.buf.type_definition(), "LSP: goto type definition")
m.nnoremap("K", vim.lsp.buf.hover, "LSP: show documentation") m.nnoremap("K", vim.lsp.buf.hover(), "LSP: show documentation")
m.nnoremap("<F8>", function() require("conform").format({ async = true, lsp_fallback = true }) end, "LSP: format") m.nnoremap("<F8>", function() require("conform").format({ async = true, lsp_fallback = true }) end, "LSP: format")
-- filipdutescu/renamer.nvim -- filipdutescu/renamer.nvim

Loading…
Cancel
Save