Set up forward search for Mac
This commit is contained in:
parent
a9af6b1fe5
commit
cabac54c5b
|
@ -107,11 +107,19 @@ let
|
||||||
command = "texlab";
|
command = "texlab";
|
||||||
filetypes = [ "latex" ];
|
filetypes = [ "latex" ];
|
||||||
roots = [ ".git" "main.tex" "all.tex" ];
|
roots = [ ".git" "main.tex" "all.tex" ];
|
||||||
# settings_section = "texlab";
|
settings_section = "texlab";
|
||||||
# settings.texlab.build = {
|
settings.texlab = {
|
||||||
# args = [ "%f" "--synctex" "--keep-logs" "--keep-intermediates" "-Zsearch-path=${config.home.homeDirectory}/texmf" "-Zshell-escape" ];
|
build.executable = "latexmk";
|
||||||
# executable = "tectonic";
|
build.args = [ "-pdf" "-shell-escape" "-interaction=nonstopmode" "-synctex=1" "%f" ];
|
||||||
# };
|
|
||||||
|
build.forwardSearchAfter = true;
|
||||||
|
build.onSave = true;
|
||||||
|
|
||||||
|
forwardSearch = {
|
||||||
|
executable = "/Applications/Skim.app/Contents/SharedSupport/displayline";
|
||||||
|
args = [ "-r" "-g" "%l" "%p" "%f" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
nim = {
|
nim = {
|
||||||
command = "nimlsp";
|
command = "nimlsp";
|
||||||
|
|
Loading…
Reference in a new issue