mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
NVIM
- Git worktree plugin config - Better keymaps <Alt>1,2,3,4 for Harpoon
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user