A collection of LuaSnip snippets for LaTeX.
Installation with lazy.nvim is as simple as,
{
'samuelireson/texsnip.nvim',
config = true,
dependencies = { 'L3MON4D3/luasnip' }
}
The collected snippets are mostly static, so there aren't many needed configurations, but you can configure your preamble path as follows,
{
'samuelireson/texsnip.nvim',
config = function()
require("texsnip").setup({
preamble_path = '~/path/to/preamble'
})
end,
dependencies = { 'L3MON4D3/luasnip' }
}
PRs are welcomed! The aim is to automatically expand as many snippets as
possible based on the context of the .tex
file. This project is all about
making LaTeX notes as easily, and quickly as possible.