Compare commits

...

2 commits

Author SHA1 Message Date
5f1b53cb9e gitcd (git clone + cd) 2024-11-15 19:30:20 +01:00
3961e16804 nvim lsp inlay hints 2024-11-15 19:30:20 +01:00
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,8 @@
function gitcd
if set -q argv[2]
set clonedir $argv[2]
else
set clonedir (basename -s '.git' $argv[1])
end
git clone $argv[1] $clonedir && cd $clonedir
end

View file

@ -36,6 +36,8 @@ lsp_zero.on_attach(function(client, bufnr)
}),
})
-- inlay hints
vim.lsp.inlay_hint.enable(true)
-- signature help
require('lsp_signature').on_attach({ floating_window_above_cur_line = true }, bufnr)