feat(nvim): add friendly-snippets
This commit is contained in:
parent
ca2e48dbdb
commit
421d1658a8
|
@ -62,7 +62,7 @@ cmp.setup {
|
|||
},
|
||||
|
||||
experimental = {
|
||||
ghost_text = false,
|
||||
ghost_text = true,
|
||||
native_menu = false,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -48,6 +48,8 @@ ls.add_snippets("js", snippets.javascript)
|
|||
ls.add_snippets("typescript", snippets.javascript)
|
||||
ls.add_snippets("vue", snippets.javascript)
|
||||
|
||||
require("luasnip.loaders.from_vscode").lazy_load()
|
||||
|
||||
ls.config.set_config {
|
||||
enable_autosnippets = true,
|
||||
history = true,
|
||||
|
|
Reference in a new issue