added latexmk config.
This commit is contained in:
parent
ef342527a5
commit
2ff864d36e
|
@ -79,5 +79,7 @@
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nix;
|
package = pkgs.nix;
|
||||||
settings.experimental-features = ["nix-command" "flakes"];
|
settings.experimental-features = ["nix-command" "flakes"];
|
||||||
|
settings.max-jobs = "auto";
|
||||||
|
gc.automatic = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,13 @@
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
texliveMedium
|
texliveMedium
|
||||||
];
|
];
|
||||||
|
home.file = {
|
||||||
|
".latexmkrc".text = ''
|
||||||
|
$dvi_previewer = 'xdvi -watchfile 1.5';
|
||||||
|
$ps_previewer = 'zathura';
|
||||||
|
$pdf_previewer = 'zathura';
|
||||||
|
'';
|
||||||
|
};
|
||||||
home.shellAliases = {
|
home.shellAliases = {
|
||||||
pdfmk = "latexmk -lualatex -pvc";
|
pdfmk = "latexmk -lualatex -pvc";
|
||||||
};
|
};
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
{name = "spell";}
|
{name = "spell";}
|
||||||
];
|
];
|
||||||
snippet = {
|
snippet = {
|
||||||
expand = "luasnip";
|
expand = "function(args) require('luasnip').lsp_expand(args.body) end";
|
||||||
};
|
};
|
||||||
mapping = {
|
mapping = {
|
||||||
"<C-Space>" = "cmp.mapping.complete()";
|
"<C-Space>" = "cmp.mapping.complete()";
|
||||||
|
|
|
@ -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
|
|
||||||
...
|
|
|
@ -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
|
|
||||||
...
|
|
|
@ -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*]
|
|
Loading…
Reference in a new issue