doomemacs/modules/tools/tree-sitter
Jeetaditya Chatterjee afb1694b2b
docs(tree-sitter): add links to support in feature
- Add two feature subsections discussing with links to
  - languages that have parsers
  - languages that have highlighting support
  - languages that have text object support and what text objects they
  - have support for
- Fix capitalisation
2022-05-22 21:25:58 +01:00
..
config.el fix(tree-sitter): bind text-objs to keys 2022-05-22 21:25:57 +01:00
doctor.el docs(tree-sitter): add doctor check for modules 2022-05-22 21:25:58 +01:00
packages.el fix(tree-sitter): feature gate evil-textobj-ts 2022-05-22 21:25:57 +01:00
README.org docs(tree-sitter): add links to support in feature 2022-05-22 21:25:58 +01:00
test.js module: add :tools tree-sitter 2022-05-22 21:25:57 +01:00

tools/tree-sitter

Description

Add tree-sitter support to doom:

Tree sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited.

  • Include better syntax highlighting of supported code
  • Add structural text objects to manipulate functions statements and other code structures like any other text object

Maintainers

  • @jeetelongname

Module Flags

This module provides no flags.

Plugins

TODO Hacks

Prerequisites

This module has no prerequisites.

Features

Language support

Currently Emacs tree sitter has got parsers for these languages with syntax highlighting support for these languages.

Text Objects

Not all language support all text objects (yet). Here is a table of the text objects languages support Note: only languages with parsers in emacs have text object support currently

TODO Configuration

TODO Troubleshooting