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