Ya están andando los snippets para los documentos .tex. Ahora falta armarlos...

This commit is contained in:
Ricman 2025-04-15 13:05:27 -03:00
parent 9a4afae932
commit a935d163f6
3 changed files with 8 additions and 4 deletions

View File

@ -801,6 +801,9 @@ require('lazy').setup({
-- end,
-- },
},
config = function()
require('luasnip.loaders.from_lua').load { paths = 'C:/Users/ricar/AppData/Local/nvim/lua/snippets/' }
end,
opts = {},
},
'folke/lazydev.nvim',
@ -977,14 +980,11 @@ require('lazy').setup({
-- require 'kickstart.plugins.neo-tree',
-- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
-- Esta linea la estoy agregando yo para poder usar el plugin vimtex
require 'kickstart.plugins.vimtex',
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
-- This is the easiest way to modularize your config.
--
-- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
-- { import = 'custom.plugins' },
{ import = 'custom.plugins' },
--
-- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec`
-- Or use telescope!

4
lua/snippets/tex.lua Normal file
View File

@ -0,0 +1,4 @@
-- Estos son los snippets que se van a cargar para todos los documentos de latex
return {
s('hello', t 'hello world'),
}