Skip to content

Commit 8f5a2e1

Browse files
committed
added vimtex, dont remember configuration arghhhhhh
1 parent 5105656 commit 8f5a2e1

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -911,9 +911,9 @@ require('lazy').setup({
911911
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
912912
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
913913
opts = {
914-
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
914+
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc', 'rust', 'python' },
915915
-- Autoinstall languages that are not installed
916-
auto_install = true,
916+
auto_install = false,
917917
highlight = {
918918
enable = true,
919919
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.

lua/custom/plugins/init.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,13 @@ return {
3737
{
3838
'mbbill/undotree',
3939
},
40+
{
41+
'lervag/vimtex',
42+
lazy = false, -- we don't want to lazy load VimTeX
43+
-- tag = "v2.15", -- uncomment to pin to a specific release
44+
init = function()
45+
-- VimTeX configuration goes here, e.g.
46+
vim.g.vimtex_view_method = 'zathura'
47+
end,
48+
},
4049
}

0 commit comments

Comments
 (0)