- Git worktree plugin config
- Better keymaps <Alt>1,2,3,4 for Harpoon
This commit is contained in:
Pratik Tripathy
2024-03-12 20:22:37 +05:30
parent 12178dd96c
commit 074d1ca987
3 changed files with 50 additions and 6 deletions

View File

@@ -86,6 +86,39 @@ return {
pyright = {},
rust_analyzer = {},
tsserver = {
-- keys = {
-- {
-- "<leader>co",
-- function()
-- vim.lsp.buf.code_action({
-- apply = true,
-- context = {
-- only = { "source.organizeImports.ts" },
-- diagnostics = {},
-- },
-- })
-- end,
-- desc = "Typescript: Organize Imports",
-- },
-- {
-- "<leader>cO",
-- function()
-- vim.lsp.buf.code_action({
-- apply = true,
-- context = {
-- only = { "source.removeUnused.ts" },
-- diagnostics = {},
-- },
-- })
-- end,
-- desc = "Typescript: Remove Unused Imports",
-- },
-- },
settings = {
completions = {
completeFunctionCalls = true,
},
},
typescript = {
inlayHints = {
-- includeInlayParameterNameHints = 'all',