Files
dotfiles/dot_config/nvim/lua/plugins/latex-snippets.lua
s0wlz (Matthias Puchstein) 8018b53353 feat: finalize migration to chezmoi and modernize configuration logic
- Modularize Hyprland config into hyprland.d/
- Implement infinitely scalable monitor/workspace logic using templates and loop-based data structures
- Consolidate host-specific configs (hyprlock, hyprpaper, waybar) into single templates
- Resolve waybar symlink conflict and fix template execution errors
- Integrate chezmoi data variables for scale, resolution, and peripherals
2025-12-27 22:52:43 +01:00

18 lines
585 B
Lua

-- Gilles Castel-style LaTeX snippets for LuaSnip
return {
-- Make sure autosnippets are enabled globally
{
"L3MON4D3/LuaSnip",
opts = function(_, opts) opts.enable_autosnippets = true end,
},
-- The LaTeX snippets themselves
{
"iurimateus/luasnip-latex-snippets.nvim",
ft = { "tex", "plaintex", "markdown" },
dependencies = { "L3MON4D3/LuaSnip", "lervag/vimtex" },
opts = { use_treesitter = false, allow_on_markdown = true }, -- use vimtex to detect math mode
config = function(_, opts) require("luasnip-latex-snippets").setup(opts) end,
},
}