├── .clang-format ├── .editorconfig ├── .gitattributes ├── .github ├── dependabot.yml └── workflows │ └── ci.yml ├── .gitignore ├── .prettierrc ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE ├── Makefile ├── Package.swift ├── README.md ├── benches └── bench_main.rs ├── binding.gyp ├── bindings ├── c │ └── tree-sitter-latex.pc.in ├── go │ ├── binding.go │ └── binding_test.go ├── node │ ├── binding.cc │ ├── index.d.ts │ └── index.js ├── python │ └── tree_sitter_latex │ │ ├── __init__.py │ │ ├── __init__.pyi │ │ ├── binding.c │ │ └── py.typed ├── rust │ ├── build.rs │ └── lib.rs └── swift │ └── TreeSitterLatex │ └── latex.h ├── examples └── texlab.tex ├── grammar.js ├── package.json ├── pyproject.toml ├── setup.py ├── src ├── grammar.json ├── node-types.json └── scanner.c ├── test └── corpus │ ├── commands.txt │ ├── counters.txt │ ├── environments.txt │ ├── groups.txt │ ├── includes.txt │ ├── issues.txt │ ├── math.txt │ ├── sections.txt │ ├── text.txt │ └── trivia.txt └── tree-sitter.json /.clang-format: -------------------------------------------------------------------------------- 1 | --- 2 | BasedOnStyle: LLVM 3 | IndentWidth: 2 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/Makefile -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/README.md -------------------------------------------------------------------------------- /benches/bench_main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/benches/bench_main.rs -------------------------------------------------------------------------------- /binding.gyp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/binding.gyp -------------------------------------------------------------------------------- /bindings/c/tree-sitter-latex.pc.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/bindings/c/tree-sitter-latex.pc.in -------------------------------------------------------------------------------- /bindings/go/binding.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/bindings/go/binding.go -------------------------------------------------------------------------------- /bindings/go/binding_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/bindings/go/binding_test.go -------------------------------------------------------------------------------- /bindings/node/binding.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/bindings/node/binding.cc -------------------------------------------------------------------------------- /bindings/node/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/bindings/node/index.d.ts -------------------------------------------------------------------------------- /bindings/node/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/bindings/node/index.js -------------------------------------------------------------------------------- /bindings/python/tree_sitter_latex/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/bindings/python/tree_sitter_latex/__init__.py -------------------------------------------------------------------------------- /bindings/python/tree_sitter_latex/__init__.pyi: -------------------------------------------------------------------------------- 1 | def language() -> int: ... 2 | -------------------------------------------------------------------------------- /bindings/python/tree_sitter_latex/binding.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/bindings/python/tree_sitter_latex/binding.c -------------------------------------------------------------------------------- /bindings/python/tree_sitter_latex/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bindings/rust/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/bindings/rust/build.rs -------------------------------------------------------------------------------- /bindings/rust/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/bindings/rust/lib.rs -------------------------------------------------------------------------------- /bindings/swift/TreeSitterLatex/latex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/bindings/swift/TreeSitterLatex/latex.h -------------------------------------------------------------------------------- /examples/texlab.tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/examples/texlab.tex -------------------------------------------------------------------------------- /grammar.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/grammar.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/package.json -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/setup.py -------------------------------------------------------------------------------- /src/grammar.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/src/grammar.json -------------------------------------------------------------------------------- /src/node-types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/src/node-types.json -------------------------------------------------------------------------------- /src/scanner.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/src/scanner.c -------------------------------------------------------------------------------- /test/corpus/commands.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/test/corpus/commands.txt -------------------------------------------------------------------------------- /test/corpus/counters.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/test/corpus/counters.txt -------------------------------------------------------------------------------- /test/corpus/environments.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/test/corpus/environments.txt -------------------------------------------------------------------------------- /test/corpus/groups.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/test/corpus/groups.txt -------------------------------------------------------------------------------- /test/corpus/includes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/test/corpus/includes.txt -------------------------------------------------------------------------------- /test/corpus/issues.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/test/corpus/issues.txt -------------------------------------------------------------------------------- /test/corpus/math.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/test/corpus/math.txt -------------------------------------------------------------------------------- /test/corpus/sections.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/test/corpus/sections.txt -------------------------------------------------------------------------------- /test/corpus/text.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/test/corpus/text.txt -------------------------------------------------------------------------------- /test/corpus/trivia.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/test/corpus/trivia.txt -------------------------------------------------------------------------------- /tree-sitter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latex-lsp/tree-sitter-latex/HEAD/tree-sitter.json --------------------------------------------------------------------------------