theonepath.nvim/after/plugin/luasnips.lua
theonepath 853e6b7ee5
Added files
Added after/ and lua/ scripts
2023-04-20 14:42:48 +01:00

20 lines
390 B
Lua

local ok, ls = pcall(require, 'luasnip')
if not ok then
print("NO SNIPS?")
return
end
-- local types = require "luasnip.util.types"
ls.config.set_config{
-- remember the last snippet
history = true,
-- make dynamic snippets update with typing
updateevents = "TextChanged,TextChangedI",
--Autosnippets:
enable_autosnippets = true,
}
require("luasnip/loaders/from_vscode").load()