⚙️ config(nvim): add new cmds to lazyload toggleterm
This commit is contained in:
parent
d0170ca6b1
commit
812b031fe1
2 changed files with 9 additions and 1 deletions
|
@ -1,6 +1,13 @@
|
||||||
return {
|
return {
|
||||||
"akinsho/toggleterm.nvim",
|
"akinsho/toggleterm.nvim",
|
||||||
cmd = "ToggleTerm",
|
cmd = {
|
||||||
|
"ToggleTerm",
|
||||||
|
"ToggleTermSetName",
|
||||||
|
"ToggleTermToggleAll",
|
||||||
|
"ToggleTermSendVisualLines",
|
||||||
|
"ToggleTermSendCurrentLine",
|
||||||
|
"ToggleTermSendVisualSelection",
|
||||||
|
},
|
||||||
opts = {
|
opts = {
|
||||||
size = function(term)
|
size = function(term)
|
||||||
if term.direction == "horizontal" then
|
if term.direction == "horizontal" then
|
||||||
|
|
|
@ -62,6 +62,7 @@ return {
|
||||||
includeInlayEnumMemberValueHints = true,
|
includeInlayEnumMemberValueHints = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
code_lens = "all",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue