added latexmk config.

This commit is contained in:
Gabe Venberg 2024-03-22 16:02:21 -05:00
parent ef342527a5
commit 2ff864d36e
6 changed files with 10 additions and 33 deletions

View file

@ -79,5 +79,7 @@
nix = {
package = pkgs.nix;
settings.experimental-features = ["nix-command" "flakes"];
settings.max-jobs = "auto";
gc.automatic = true;
};
}

View file

@ -6,6 +6,13 @@
home.packages = with pkgs; [
texliveMedium
];
home.file = {
".latexmkrc".text = ''
$dvi_previewer = 'xdvi -watchfile 1.5';
$ps_previewer = 'zathura';
$pdf_previewer = 'zathura';
'';
};
home.shellAliases = {
pdfmk = "latexmk -lualatex -pvc";
};

View file

@ -21,7 +21,7 @@
{name = "spell";}
];
snippet = {
expand = "luasnip";
expand = "function(args) require('luasnip').lsp_expand(args.body) end";
};
mapping = {
"<C-Space>" = "cmp.mapping.complete()";

View file

@ -1,14 +0,0 @@
---
#this syncronizes with settings used by neovims treesitters so that the lsp formatting and treesitter formatting do not fight eatch other.
PointerAlignment: Left
ColumnLimit: 80
IndentWidth: 4
TabWidth: 4
UseCRLF: false
UseTab: Never
AlignAfterOpenBracket: BlockIndent
AlwaysBreakBeforeMultilineStrings: true
BreakBeforeBraces: Attach
AlignOperands: Align
BreakBeforeBinaryOperators: NonAssignment
...

View file

@ -1,13 +0,0 @@
---
#this syncronizes with settings used by neovims treesitters so that the lsp formatting and treesitter formatting do not fight eatch other.
PointerAlignment: Left
ColumnLimit: 80
IndentWidth: 4
TabWidth: 4
UseCRLF: false
UseTab: Never
AlignAfterOpenBracket: BlockIndent
AlwaysBreakBeforeMultilineStrings: true
BreakBeforeBraces: Allman
BreakBeforeBinaryOperators: None
...

View file

@ -1,5 +0,0 @@
# keeps clangd from choking when it sees a compiler flag for a different
# compiler. (sutch as when acting as an lsp for a project that uses GCC.)
CompileFlags:
Add: -Wno-unknown-warning-option
Remove: [-m*, -f*]