mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 13:30:41 +00:00
d16ffabcfd
first commit of Refactor handle require errors move config from other places to proper files don't create a pseudo config function for no reason https://github.com/siduck76/NvChad/pull/156#issuecomment-881453546
18 lines
292 B
Lua
18 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()
|