| ... | @@ -60,15 +60,17 @@ | ... | @@ -60,15 +60,17 @@ |
| 60 | inlayHints.enable = true; | 60 | inlayHints.enable = true; |
| 61 | # Nice mappings that I use :3 | 61 | # Nice mappings that I use :3 |
| 62 | mappings = { | 62 | mappings = { |
| 63 | codeAction = "<leader>ca"; | 63 | codeAction = null; # in keymaps |
| 64 | goToDeclaration = "gD"; | 64 | goToDeclaration = "gD"; |
| 65 | goToDefinition = "gd"; | 65 | goToDefinition = "gd"; |
| 66 | listReferences = "gr"; | 66 | # TODO: changing these works but there is something else defining stuff |
| 67 | goToType = "gy"; | 67 | # like grn, grr, grt, etc |
| | 68 | listReferences = "grr"; |
| | 69 | goToType = "grt"; |
| 68 | hover = "K"; | 70 | hover = "K"; |
| 69 | nextDiagnostic = null; # ]d | 71 | nextDiagnostic = null; # ]d |
| 70 | openDiagnosticFloat = "<leader>d"; | 72 | openDiagnosticFloat = "<leader>d"; |
| 71 | renameSymbol = "rn"; | 73 | renameSymbol = "grn"; |
| 72 | documentHighlight = null; | 74 | documentHighlight = null; |
| 73 | listDocumentSymbols = null; | 75 | listDocumentSymbols = null; |
| 74 | listImplementations = null; | 76 | listImplementations = null; |
| ... | @@ -83,6 +85,14 @@ | ... | @@ -83,6 +85,14 @@ |
| 83 | treesitter = { | 85 | treesitter = { |
| 84 | enable = true; | 86 | enable = true; |
| 85 | addDefaultGrammars = true; | 87 | addDefaultGrammars = true; |
| | 88 | # this is buggy and keybind.nix overwrites its keymaps anyways |
| | 89 | incrementalSelection.enable = false; |
| | 90 | mappings.incrementalSelection = { |
| | 91 | decrementByNode = null; |
| | 92 | incrementByNode = null; |
| | 93 | incrementByScope = null; |
| | 94 | init = null; |
| | 95 | }; |
| 86 | }; | 96 | }; |
| 87 | debugger.nvim-dap = { | 97 | debugger.nvim-dap = { |
| 88 | enable = true; | 98 | enable = true; |