Merge branch 'main' of git.tibeuleu.xyz:Tibeuleu/dotfiles
merge work on home
This commit is contained in:
@@ -65,7 +65,38 @@ local servers = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
texlab = {},
|
texlab = {
|
||||||
|
filetypes = { "tex", "bib" },
|
||||||
|
settings = {
|
||||||
|
texlab = {
|
||||||
|
auxDirectory = ".",
|
||||||
|
bibtexFormatter = "texlab",
|
||||||
|
build = {
|
||||||
|
args = { "-pdf", "-interaction=nonstopmode", "-synctex=1", "%f" },
|
||||||
|
executable = "latexmk",
|
||||||
|
forwardSearchAfter = false,
|
||||||
|
onSave = false
|
||||||
|
},
|
||||||
|
chktex = {
|
||||||
|
onEdit = false,
|
||||||
|
onOpenAndSave = false
|
||||||
|
},
|
||||||
|
diagnosticsDelay = 300,
|
||||||
|
formatterLineLength = -1,
|
||||||
|
forwardSearch = {
|
||||||
|
args = {}
|
||||||
|
},
|
||||||
|
latexFormatter = "latexindent",
|
||||||
|
latexindent = {
|
||||||
|
modifyLineBreaks = false
|
||||||
|
},
|
||||||
|
forwardSearch = {
|
||||||
|
executable = "zathura",
|
||||||
|
args = { "--synctex-forward", "%l:1:%f", "%p"}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Default handlers for LSP
|
-- Default handlers for LSP
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
-- A list of parser names, or "all" (the five listed parsers should always be installed)
|
-- A list of parser names, or "all" (the five listed parsers should always be installed)
|
||||||
ensure_installed = { "bash", "c", "cpp", "cuda", "latex", "lua", "markdown", "python", "rust", "vim", "vimdoc" },
|
ensure_installed = { "bash", "bibtex", "c", "cpp", "latex", "lua", "markdown", "python", "vim", "vimdoc" },
|
||||||
|
|
||||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
|
|||||||
2
.config/zathura/zathurarc
Normal file
2
.config/zathura/zathurarc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
set synctex true
|
||||||
|
set synctex-editor-command "texlab inverse-search -i %{input} -l %{line}"
|
||||||
Reference in New Issue
Block a user