File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
lua/luasnip-latex-snippets Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ cursor is within math mode. Alternatively, you can use
1818Can be installed like any neovim plugin. If using
1919[ wbthomason/packer.nvim] ( https://github.com/wbthomason/packer.nvim ) :
2020
21+ For autosnippets to work correctly one should enable them in the luasnip config (` require('luasnip').setup({enable_autosnippets = true}) ` ).
22+
2123``` lua
2224use {
2325 " iurimateus/luasnip-latex-snippets.nvim" ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ local default_opts = {
1414M .setup = function (opts )
1515 opts = vim .tbl_deep_extend (" force" , default_opts , opts or {})
1616
17- ls .config .setup ({ enable_autosnippets = true })
17+ -- ls.config.setup({ enable_autosnippets = true })
1818
1919 local augroup = vim .api .nvim_create_augroup (" luasnip-latex-snippets" , {})
2020 vim .api .nvim_create_autocmd (" FileType" , {
You can’t perform that action at this time.
0 commit comments