Compare commits

..

No commits in common. "dc15b9b6a3756fe35211c748fbec1cea016f190f" and "b2c5d151e8d51154d35c422cd2f76738a2a46e5d" have entirely different histories.

2 changed files with 12 additions and 1 deletions

View File

@ -545,6 +545,7 @@ require("lazy").setup({
-- Go
-- https://github.com/golang/tools/blob/master/gopls/doc/vim.md
-- https://github.com/golang/tools/blob/master/gopls/doc/settings.md
-- https://github.com/golang/tools/blob/master/gopls/doc/inlayHints.md
-- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#gopls
-- https://github.com/neovim/nvim-lspconfig/issues/2542
lspconfig.gopls.setup({
@ -554,6 +555,17 @@ require("lazy").setup({
client.server_capabilities.semanticTokensProvider = nil
end
end,
on_attach = function(client, bufnr)
vim.lsp.inlay_hint.enable(true, { bufnr = bufnr })
end,
settings = {
gopls = {
hints = {
constantValues = true,
parameterNames = true,
},
},
},
})
-- Python

View File

@ -19,7 +19,6 @@ git config --global alias.psa "!git remote | xargs -L1 -P8 git push"
git config --global alias.psaf "!git remote | xargs -L1 -P8 git push --force-with-lease"
git config --global alias.psf "push --force-with-lease"
git config --global alias.rank "shortlog -nse --no-merges"
git config --global alias.rst restore
git config --global alias.sh show
git config --global alias.st status
git config --global alias.stcl "stash clear"