neovim: fix luasnip config

lazy_load() won't reload snippets when opening a new buffer, and will
only load general snippets (ft=all) first
This commit is contained in:
FollieHiyuki 2021-09-04 08:06:28 +07:00
parent ac6be59e68
commit 09cef9c60a
No known key found for this signature in database
GPG Key ID: 813CF484F4993419

View File

@ -129,7 +129,7 @@ function M.snippets_conf()
})
-- Loading vscode-like snippets from 'friendly-snippets'
require('luasnip/loaders/from_vscode').lazy_load()
require('luasnip/loaders/from_vscode').load()
end
function M.coq_conf()