2021-07-18 20:58:28 -04:00
|
|
|
local present, luasnip = pcall(require, "luasnip")
|
|
|
|
if not present then
|
2021-08-16 03:49:09 -04:00
|
|
|
return
|
2021-07-15 11:43:17 -04:00
|
|
|
end
|
|
|
|
|
2021-08-16 03:49:09 -04:00
|
|
|
luasnip.config.set_config {
|
|
|
|
history = true,
|
|
|
|
updateevents = "TextChanged,TextChangedI",
|
|
|
|
}
|
2021-08-26 21:14:58 -04:00
|
|
|
|
2021-07-15 11:43:17 -04:00
|
|
|
require("luasnip/loaders/from_vscode").load()
|