File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -138,17 +138,17 @@ local global_maps = {
138
138
139
139
local lsp_maps = {
140
140
n = {
141
- [' gd' ] = function ()
142
- require (' telescope.builtin' ).lsp_definitions ()
143
- end ,
141
+ [' gd' ] = vim .lsp .buf .definition ,
144
142
[' gD' ] = vim .lsp .buf .declaration ,
145
143
[' gi' ] = function ()
146
144
require (' telescope.builtin' ).lsp_implementations ()
147
145
end ,
148
146
[' gr' ] = [[ <cmd>FzfLua lsp_references<CR>]] ,
149
- [' <leader>gd' ] = vim .lsp .buf .definition ,
150
147
[' K' ] = vim .lsp .buf .hover ,
151
148
[' gK' ] = vim .lsp .buf .signature_help ,
149
+ [' <leader>gd' ] = function ()
150
+ require (' telescope.builtin' ).lsp_definitions ()
151
+ end ,
152
152
[' <leader>gi' ] = vim .lsp .buf .implementation ,
153
153
[' <leader>gr' ] = vim .lsp .buf .references ,
154
154
[' <Leader>wa' ] = vim .lsp .buf .add_workspace_folder ,
You can’t perform that action at this time.
0 commit comments