Skip to content

Commit

Permalink
fix(which-key): change LSP mappings to new one from typescript-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
ecosse3 committed Jul 10, 2023
1 parent 41164b6 commit 503f10f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lua/plugins/which-key.lua
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,12 @@ local function attach_typescript(bufnr)
wk.register({
c = {
name = "LSP",
e = { '<cmd>TSC<CR>', 'workspace errors (TSC)'},
F = { '<cmd>TypescriptFixAll<CR>', 'fix all' },
i = { '<cmd>TypescriptAddMissingImports<CR>', 'import all'},
o = { '<cmd>TypescriptOrganizeImports<CR>', 'organize imports'},
u = { '<cmd>TypescriptRemoveUnused<CR>', 'remove unused' },
e = { '<cmd>TSC<CR>', 'workspace errors (TSC)'},
F = { '<cmd>TSToolsFixAll<CR>', 'fix all' },
i = { '<cmd>TSToolsAddMissingImports<CR>', 'import all'},
o = { '<cmd>TSToolsOrganizeImports<CR>', 'organize imports'},
s = { '<cmd>TSToolsSortImports<CR>', 'sort imports'},
u = { '<cmd>TSToolsRemoveUnused<CR>', 'remove unused' },
}
}, {
buffer = bufnr ,
Expand Down

0 comments on commit 503f10f

Please sign in to comment.