feat: working latex setup
This commit is contained in:
parent
6dd9ebbb6e
commit
bea8b9131c
|
@ -10,7 +10,8 @@ local bindings = {
|
|||
live_grep = "<c-F>",
|
||||
|
||||
-- See diagnostics with space + d
|
||||
diagnostics = "<space>d",
|
||||
lsp_document_diagnostics = "<space>d",
|
||||
lsp_workspace_diagnostics = "<space>wd",
|
||||
|
||||
-- Open a list with all the pickers
|
||||
builtin = "<space>t",
|
||||
|
|
|
@ -5,6 +5,8 @@ local M = {}
|
|||
function M.setup()
|
||||
-- Viewer method
|
||||
global("vimtex_view_method", "zathura")
|
||||
global("Tex_DefaultTargetFormat", "pdf")
|
||||
global("vimtex_compiler_latexmk", {options = {"-pdf", "-shell-escape", "-verbose", "-file-line-error", "-synctex=1", "-interaction=nonstopmode"}})
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
# unison-ucm
|
||||
xorg.libX11
|
||||
texlive.combined.scheme-full # latex stuff
|
||||
python38Packages.pygments # required for latex syntax highlighting
|
||||
okular
|
||||
zathura
|
||||
cmake
|
||||
|
|
|
@ -32,6 +32,7 @@ in
|
|||
ripgrep # grep rewrite (I think?)
|
||||
nodePackages.typescript # typescript language
|
||||
texlive.combined.scheme-full # latex stuff
|
||||
python38Packages.pygments # required for latex syntax highlighting
|
||||
];
|
||||
|
||||
plugins = with pkgs.vimPlugins;
|
||||
|
@ -52,11 +53,12 @@ in
|
|||
nvim-tree-lua # file tree
|
||||
vimtex # latex plugin
|
||||
|
||||
|
||||
# Cmp related stuff. See https://github.com/hrsh7th/nvim-cmp
|
||||
cmp-nvim-lsp
|
||||
cmp-buffer
|
||||
cmp-path
|
||||
cmd-cmdline
|
||||
cmp-cmdline
|
||||
nvim-cmp
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue