Added vimtex
This commit is contained in:
parent
04fb91067d
commit
5a74885a32
10
init.lua
10
init.lua
|
@ -808,6 +808,15 @@ require('lazy').setup({
|
||||||
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' }),
|
vim.keymap.set('n', '-', '<CMD>Oil<CR>', { desc = 'Open parent directory' }),
|
||||||
},
|
},
|
||||||
{ 'tpope/vim-fugitive' },
|
{ 'tpope/vim-fugitive' },
|
||||||
|
{
|
||||||
|
'lervag/vimtex',
|
||||||
|
-- lazy = false,
|
||||||
|
init = function()
|
||||||
|
-- VimTeX configuration goes here, e.g.
|
||||||
|
vim.g.vimtex_view_general_viewer = 'okular'
|
||||||
|
vim.g.vimtex_compiler_method = 'latexmk'
|
||||||
|
end,
|
||||||
|
},
|
||||||
{ -- Highlight, edit, and navigate code
|
{ -- Highlight, edit, and navigate code
|
||||||
'nvim-treesitter/nvim-treesitter',
|
'nvim-treesitter/nvim-treesitter',
|
||||||
build = ':TSUpdate',
|
build = ':TSUpdate',
|
||||||
|
@ -817,6 +826,7 @@ require('lazy').setup({
|
||||||
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
|
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
|
||||||
-- Autoinstall languages that are not installed
|
-- Autoinstall languages that are not installed
|
||||||
auto_install = true,
|
auto_install = true,
|
||||||
|
ignore_install = { 'latex' },
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true,
|
enable = true,
|
||||||
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
|
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
|
||||||
|
|
Loading…
Reference in New Issue