language-latex-plus
LaTeX language support with tree-sitter grammar
asiloisad 2 0 1.0.1 MIT GitHub
  • Made for Pulsar!

    This package was written specifically for Pulsar and did not exist in the Atom package repository.

language-latex-plus

LaTeX language with modern tree-sitter grammar and legacy TextMate grammar.

Features

  • Tree-sitter grammar: LaTeX with syntax highlighting, code folding, indentation, and symbol navigation.
  • TextMate grammar: fallback for LaTeX, TeX, BibTeX, Beamer, Memoir, and log files.
  • 166 snippets: for common LaTeX constructs (environments, sections, math, etc.).

Installation

To install language-latex-plus search for language-latex-plus in the Install pane of the Pulsar settings or run ppm install language-latex-plus. Alternatively, you can run ppm install asiloisad/pulsar-language-latex-plus to install a package directly from the GitHub repository.

Grammars

Tree-sitter (modern)

Based on tree-sitter-latex. Used by default when Pulsar's modern tree-sitter parser is enabled.

Provides:

  • Accurate syntax highlighting for commands, environments, math, sections, citations, labels, and more
  • Code folding for sections, environments, equations, and comments
  • Auto-indentation inside environments and brace groups
  • Symbol navigation for sections, labels, and command definitions
  • Hyperlink and TODO detection in comments

TextMate (legacy)

Derived from the TextMate LaTeX bundle. Used as fallback when tree-sitter is disabled.

Includes grammars for:

  • LaTeX (text.tex.latex)
  • TeX (text.tex)
  • BibTeX (text.bibtex)
  • Beamer (text.tex.latex.beamer)
  • Memoir (text.tex.latex.memoir)
  • LaTeX log (text.log.latex)

Contributing

Got ideas to make this package better, found a bug, or want to help add new features? Just drop your thoughts on GitHub — any feedback's welcome!