[nvim] feat: custom (colored) nodes for snippets
This commit is contained in:
parent
e23ea8343a
commit
695cd74e54
@ -31,7 +31,26 @@ ls.config.set_config({
|
||||
ext_opts = {
|
||||
[types.choiceNode] = {
|
||||
active = {
|
||||
virt_text = { { "choiceNode", "Comment" } },
|
||||
virt_text = { { "●", "LuaSnipChoice" } },
|
||||
},
|
||||
inactive = {
|
||||
virt_text = { { "●", "LuaSnipInactive" } },
|
||||
},
|
||||
},
|
||||
[types.functionNode] = {
|
||||
active = {
|
||||
virt_text = { { "●", "LuaSnipFunction" } },
|
||||
},
|
||||
inactive = {
|
||||
virt_text = { { "●", "LuaSnipInactive" } },
|
||||
},
|
||||
},
|
||||
[types.insertNode] = {
|
||||
active = {
|
||||
virt_text = { { "●", "LuaSnipInsert" } },
|
||||
},
|
||||
inactive = {
|
||||
virt_text = { { "●", "LuaSnipInactive" } },
|
||||
},
|
||||
},
|
||||
},
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit d77e1cfe127418ab00c6d5fb076f89cdf9b49e94
|
||||
Subproject commit 9b46e0fa3d2bfca3b376961d822eb5d965da48ed
|
Reference in New Issue
Block a user