Compare commits

...

2 commits

Author SHA1 Message Date
7885fd706c
[zsh] source cargo env 2024-11-12 15:39:21 +00:00
1270697cd6
[nvim] made vimtex use tectonic with entr 2024-11-12 15:39:00 +00:00
2 changed files with 4 additions and 2 deletions

View file

@ -199,7 +199,7 @@ return {
vim.keymap.set("n", "<space>k", vim.lsp.buf.signature_help, bufopts)
vim.keymap.set("n", "<space>D", vim.lsp.buf.type_definition, bufopts)
vim.keymap.set("n", "<space>rn", rename_func, bufopts_expr)
vim.keymap.set({"n","v"}, "<space>ca", vim.lsp.buf.code_action, bufopts)
vim.keymap.set({ "n", "v" }, "<space>ca", vim.lsp.buf.code_action, bufopts)
vim.keymap.set("n", "<space>ge", vim.diagnostic.goto_next, bufopts)
vim.keymap.set("n", "<space>gE", vim.diagnostic.goto_prev, bufopts)
vim.keymap.set("n", "<space>fo", function() conform.format({ lsp_fallback = true }) end, bufopts)
@ -291,7 +291,8 @@ return {
else
vim.g.vimtex_view_method = 'zathura'
end
vim.g.vimtex_compiler_methor = 'pdflatex'
vim.g.vimtex_compiler_method = 'generic'
vim.g.vimtex_compiler_generic = { command = 'ls *.tex | entr -n -c tectonic /_ --synctex --keep-logs' }
end,
},
{

View file

@ -40,3 +40,4 @@ export XDG_CACHE_HOME="${HOME}/.cache"
export XDG_DATA_HOME="${HOME}/.local/share"
export XDG_STATE_HOME="${HOME}/.local/state"
. "$HOME/.cargo/env"