feat(nvim): add friendly-snippets

This commit is contained in:
Oliver Davies 2023-09-15 19:20:40 +01:00
parent ca2e48dbdb
commit 421d1658a8
2 changed files with 3 additions and 1 deletions

View file

@ -62,7 +62,7 @@ cmp.setup {
},
experimental = {
ghost_text = false,
ghost_text = true,
native_menu = false,
},
}

View file

@ -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,