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