Skip to content

Commit

Permalink
Merge pull request #172 from FrothyMarrow/lsp-duplicate-entries
Browse files Browse the repository at this point in the history
lsp: remove duplicate keybindings from config
  • Loading branch information
NotAShelf authored Oct 23, 2023
2 parents 23bb43d + e749ab2 commit d1b497e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/lsp/config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ in {
vim.g.formatsave = ${boolToString cfg.formatOnSave};
local attach_keymaps = function(client, bufnr)
${mkBinding mappings.goToDeclaration "vim.lsp.buf.declaration()"}
${mkBinding mappings.goToDefinition "vim.lsp.buf.definition()"}
${mkBinding mappings.goToDeclaration "vim.lsp.buf.declaration()"}
${mkBinding mappings.goToDefinition "vim.lsp.buf.definition()"}
${mkBinding mappings.goToType "vim.lsp.buf.type_definition()"}
Expand Down

0 comments on commit d1b497e

Please sign in to comment.