Compare commits
2 Commits
b2c5d151e8
...
dc15b9b6a3
Author | SHA1 | Date |
---|---|---|
sudo pacman -Syu | dc15b9b6a3 | |
sudo pacman -Syu | 2a6af201b9 |
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue