diff --git a/dot_config/nvim/init.lua b/dot_config/nvim/init.lua index d530140..52f4911 100644 --- a/dot_config/nvim/init.lua +++ b/dot_config/nvim/init.lua @@ -799,6 +799,7 @@ require('lazy').setup({ auto_install = true, highlight = { enable = true, + disable = { 'latex' }, -- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules. -- If you are experiencing weird indenting issues, add the language to -- the list of additional_vim_regex_highlighting and disabled languages for indent. @@ -834,7 +835,7 @@ require('lazy').setup({ -- 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! diff --git a/dot_config/nvim/lua/custom/plugins/init.lua b/dot_config/nvim/lua/custom/plugins/init.lua index be0eb9d..c5612c6 100644 --- a/dot_config/nvim/lua/custom/plugins/init.lua +++ b/dot_config/nvim/lua/custom/plugins/init.lua @@ -2,4 +2,14 @@ -- I promise not to create any merge conflicts in this directory :) -- -- See the kickstart.nvim README for more information -return {} +return { + { + 'lervag/vimtex', + lazy = false, -- we don't want to lazy load VimTeX + -- tag = "v2.15", -- uncomment to pin to a specific release + init = function() + -- VimTeX configuration goes here, e.g. + vim.g.vimtex_view_method = 'zathura' + end, + }, +}