Skip to content

Instantly share code, notes, and snippets.

@csgordon
Created March 3, 2025 19:44
Show Gist options
  • Save csgordon/759b794d4950bc49d43bd94d82976bbc to your computer and use it in GitHub Desktop.
Save csgordon/759b794d4950bc49d43bd94d82976bbc to your computer and use it in GitHub Desktop.
Helix editor config for LaTeX
[language-server.texlab]
config.texlab = { build = {onSave = true,args=["-pdf", "--shell-escape", "-interaction=nonstopmode", "-synctex=1", "%f"]} }
[[language]]
name = "latex"
auto-format = false
scope = "source.tex"
file-types = ["tex"]
comment-token = "%"
indent = { tab-width = 2, unit = " " }
#language-server = { command = "texlab", args = ["--stdio"] }
# language-server = { command = "texlab" }
language-servers = [ { name = "texlab" } ]
# config.texlab = {build = {onSave = true,args=["-pdf", "--shell-escape", "-interaction=nonstopmode", "-synctex=1", "%f"]},forwardSearch = {executable = "/Applications/Skim.app/Contents/SharedSupport/displayline",args = ["%l", "%p", "%f"]}}
# config = { texlab = { build = {onSave = true } } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment