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
This commit is contained in:
Jeetaditya Chatterjee 2021-08-20 23:05:34 +01:00
parent 9251ea9db7
commit afb1694b2b
No known key found for this signature in database
GPG key ID: 09D54CECD2132B91

View file

@ -11,6 +11,8 @@
- [[#hacks][Hacks]] - [[#hacks][Hacks]]
- [[#prerequisites][Prerequisites]] - [[#prerequisites][Prerequisites]]
- [[#features][Features]] - [[#features][Features]]
- [[#language-support][Language support]]
- [[#text-objects][Text Objects]]
- [[#configuration][Configuration]] - [[#configuration][Configuration]]
- [[#troubleshooting][Troubleshooting]] - [[#troubleshooting][Troubleshooting]]
@ -24,8 +26,8 @@ syntax tree as the source file is edited.
#+end_quote #+end_quote
+ include better syntax highlighting of supported code + Include better syntax highlighting of supported code
+ add structural text objects to manipulate functions statements and other code + Add structural text objects to manipulate functions statements and other code
structures like any other text object structures like any other text object
** Maintainers ** Maintainers
@ -45,8 +47,15 @@ This module provides no flags.
* Prerequisites * Prerequisites
This module has no prerequisites. This module has no prerequisites.
* TODO Features * Features
# An in-depth list of features, how to use them, and their dependencies. ** Language support
Currently Emacs tree sitter has got [[https://github.com/emacs-tree-sitter/tree-sitter-langs/tree/master/repos][parsers for these languages]] with syntax
highlighting support for [[https://emacs-tree-sitter.github.io/syntax-highlighting/][these languages]].
** Text Objects
Not all language support all text objects (yet). [[https://github.com/nvim-treesitter/nvim-treesitter-textobjects#built-in-textobjects][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 Configuration
# How to configure this module, including common problems and how to address them. # How to configure this module, including common problems and how to address them.