nvim,tmux,kitty: full config overhaul (AstroNvim → native 0.12)
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.
This commit is contained in:
@@ -1,22 +1,28 @@
|
||||
return {
|
||||
"lervag/vimtex",
|
||||
ft = { "tex", "latex" }, -- lazy-load on filetype
|
||||
init = function()
|
||||
-- Viewer
|
||||
vim.g.vimtex_view_method = "zathura"
|
||||
|
||||
-- Compiler: latexmk + LuaLaTeX
|
||||
vim.g.vimtex_compiler_method = "latexmk"
|
||||
-- Option A: pass -lualatex explicitly to latexmk
|
||||
vim.g.vimtex_compiler_latexmk = {
|
||||
options = {
|
||||
"-lualatex",
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
},
|
||||
}
|
||||
-- Option B (also helpful): make LuaLaTeX the default engine for latexmk
|
||||
vim.g.vimtex_compiler_latexmk_engines = { _ = "-lualatex" }
|
||||
end,
|
||||
-- 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,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user