Compare commits

..

2 Commits

Author SHA1 Message Date
sudo pacman -Syu dc15b9b6a3 config(nvim): remove inlay hint 2024-07-19 11:51:34 +07:00
sudo pacman -Syu 2a6af201b9 chore: git restore 2024-07-19 11:51:16 +07:00
2 changed files with 1 additions and 12 deletions

View File

@ -545,7 +545,6 @@ 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({
@ -555,17 +554,6 @@ 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,6 +19,7 @@ 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"