Tmux config

This commit is contained in:
Kulvir Singh
2024-01-24 23:36:09 +05:30
parent 68c30ee4f8
commit 19de54e044
12 changed files with 64 additions and 17 deletions

View File

@@ -93,8 +93,9 @@ return {
[server_name] = {
analyses = {
unusedparams = true,
shadow = true,
},
usePlaceholders = true,
staticcheck = true,
},
},
}
@@ -110,6 +111,21 @@ return {
},
})
end,
["gopls"] = function()
lspconfig.gopls.setup({
capabilities = capabilities,
on_attach = on_attach,
settings = {
gopls = {
gofumpt = true,
},
},
flags = {
debounce_text_changes = 150,
},
})
end,
},
})
end,

View File

@@ -22,7 +22,7 @@ return {
vim.keymap.set('n', '<leader>f', builtin.find_files, {})
vim.keymap.set('n', '<c-p>', builtin.git_files, {})
-- vim.keymap.set('n', '<leader>fg', builtin.live_grep, {})
vim.keymap.set('n', '<C-f>', builtin.live_grep, {})
-- vim.keymap.set('n', '<leader>fh', builtin.help_tags, {})
end
}