forked from dineshsalunke/nvim-config
refactor: lua snip config updated
This commit is contained in:
parent
6422e8f548
commit
97959e7612
@ -2,10 +2,8 @@ return {
|
||||
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
version = "2.*",
|
||||
build = (not jit.os:find("Windows"))
|
||||
and "echo 'NOTE: jsregexp is optional, so not a big deal if it fails to build'; make install_jsregexp"
|
||||
or nil,
|
||||
version = "v2.*",
|
||||
build = "make install_jsregexp",
|
||||
opts = {
|
||||
history = true,
|
||||
delete_check_events = "TextChanged",
|
||||
@ -16,7 +14,7 @@ return {
|
||||
history = true,
|
||||
delete_check_events = "TextChanged",
|
||||
})
|
||||
require("luasnip.loaders.from_lua").load({ paths = "~/snippets" })
|
||||
require("luasnip.loaders.from_lua").load({ paths = { "~/snippets" } })
|
||||
end,
|
||||
dependencies = {
|
||||
"hrsh7th/nvim-cmp",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user