From 6c6b42888362812e9f3ba42fa7ca3c101ecd6314 Mon Sep 17 00:00:00 2001 From: Oliver Davies <oliver@oliverdavies.uk> Date: Mon, 25 Apr 2022 08:10:57 +0100 Subject: [PATCH] fix(nvim): typo in JS snippets --- roles/neovim/files/after/plugin/luasnip.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/neovim/files/after/plugin/luasnip.lua b/roles/neovim/files/after/plugin/luasnip.lua index 36a1508b..cbb87891 100644 --- a/roles/neovim/files/after/plugin/luasnip.lua +++ b/roles/neovim/files/after/plugin/luasnip.lua @@ -44,9 +44,9 @@ for _, ft_path in ipairs(api.nvim_get_runtime_file("lua/opdavies/snippets/ft/*.l ls.add_snippets(ft, snippets[ft]) end -ls.add_snippets("js", snippets.javscript) -ls.add_snippets("typescript", snippets.javscript) -ls.add_snippets("vue", snippets.javscript) +ls.add_snippets("js", snippets.javascript) +ls.add_snippets("typescript", snippets.javascript) +ls.add_snippets("vue", snippets.javascript) ls.config.set_config { enable_autosnippets = true,