mirror of https://github.com/NvChad/NvChad
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
292 B
Lua
19 lines
292 B
Lua
3 years ago
|
local luasnip
|
||
|
if
|
||
|
not pcall(
|
||
|
function()
|
||
|
luasnip = require "luasnip"
|
||
|
end
|
||
|
)
|
||
|
then
|
||
|
return
|
||
|
end
|
||
|
|
||
|
luasnip.config.set_config(
|
||
|
{
|
||
|
history = true,
|
||
|
updateevents = "TextChanged,TextChangedI"
|
||
|
}
|
||
|
)
|
||
|
require("luasnip/loaders/from_vscode").load()
|