mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
fix(nvim): LuaSnip auto expand, snack image preview for md
This commit is contained in:
parent
085c2995da
commit
8d0d95420a
8 changed files with 25 additions and 28 deletions
|
|
@ -1,11 +1,22 @@
|
|||
return {
|
||||
{ import = "plugins.mod.blink-cmp" },
|
||||
-- { import = "plugins.mod.nvim-cmp" },
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
build = "make install_jsregexp",
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
require("luasnip.loaders.from_vscode").lazy_load({ paths = "~/.config/lsp-snippets" })
|
||||
require("luasnip").setup({
|
||||
history = true,
|
||||
enable_autosnippets = true,
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"js0ny/luasnip-latex-snippets.nvim",
|
||||
dependencies = { "L3MON4D3/LuaSnip", "lervag/vimtex" },
|
||||
ft = { "tex", "latex", "markdown", "org" },
|
||||
opts = {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue