mirror of
https://github.com/NvChad/NvChad.git
synced 2024-11-08 13:10:25 +00:00
19 lines
292 B
Lua
19 lines
292 B
Lua
|
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()
|