Replaces AstroNvim v5 with from-scratch Neovim 0.12 config using vim.lsp.config()/vim.lsp.enable() natively, lazy.nvim, blink.cmp, and smart-splits tmux integration. tmux: new C-Space prefix, hjkl pane nav, resize key table, tpm plugins. kitty: add allow_remote_control for smart-splits.
29 lines
844 B
Lua
29 lines
844 B
Lua
return {
|
|
-- VimTeX: LaTeX compilation, navigation, text objects
|
|
{
|
|
"lervag/vimtex",
|
|
ft = { "tex", "plaintex", "bib" },
|
|
init = function()
|
|
-- Must be set before vimtex loads
|
|
vim.g.vimtex_view_method = "zathura"
|
|
vim.g.vimtex_compiler_method = "latexmk"
|
|
vim.g.vimtex_compiler_latexmk = {
|
|
options = {
|
|
"-pdf",
|
|
"-shell-escape",
|
|
"-verbose",
|
|
"-file-line-error",
|
|
"-synctex=1",
|
|
"-interaction=nonstopmode",
|
|
"-lualatex",
|
|
},
|
|
}
|
|
-- Disable vimtex completion (blink.cmp handles it via cmp-vimtex)
|
|
vim.g.vimtex_complete_enabled = 0
|
|
-- Disable vimtex's own syntax (use treesitter instead, with vim regex fallback)
|
|
vim.g.vimtex_syntax_enabled = 1
|
|
vim.g.vimtex_syntax_conceal_disable = 0
|
|
end,
|
|
},
|
|
}
|