⚙️ config(nvim): add new cmds to lazyload toggleterm

This commit is contained in:
Sergio Laín 2023-11-26 16:56:22 +01:00
parent d0170ca6b1
commit 812b031fe1
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 9 additions and 1 deletions

View file

@ -1,6 +1,13 @@
return {
"akinsho/toggleterm.nvim",
cmd = "ToggleTerm",
cmd = {
"ToggleTerm",
"ToggleTermSetName",
"ToggleTermToggleAll",
"ToggleTermSendVisualLines",
"ToggleTermSendCurrentLine",
"ToggleTermSendVisualSelection",
},
opts = {
size = function(term)
if term.direction == "horizontal" then

View file

@ -62,6 +62,7 @@ return {
includeInlayEnumMemberValueHints = true,
},
},
code_lens = "all",
},
},
}