Commit graph

127 commits

Author SHA1 Message Date
Santos Gallegos
f3d0bdcf6f Docs: document additional_vim_regex_highlighting option 2021-07-05 19:24:05 +02:00
antonk52
90f15d9bf7 feat(keywords) merge return and yield into keyword.return group 2021-07-04 21:49:17 +02:00
antonk52
bd9095e969 feat(keywords) add keyword.return & keyword.yield 2021-07-04 21:49:17 +02:00
Shane Hird
a8d64922fa Re-introduce prompting for installation 2021-07-04 14:59:13 +02:00
Shane Hird
76ea2b8871 TSUpdate does not install if up to date 2021-07-04 14:59:13 +02:00
kmarius
8adb2e0352 fix typo: Enviroment -> Environment 2021-06-22 07:27:00 +02:00
Munif Tanjim
4a80228220 docs: update nvim-treesitter-highlights 2021-04-24 16:52:37 +02:00
Thomas Vigouroux
a74484a8ac docs: Update vimdoc file
Adds the new maintainers (that were actually added a long time ago),
fix inconsistent formatting, and unneeded or old/wrong docs.
2021-04-22 18:25:41 +02:00
Stephan Seitz
4df2667303 feat: Add TSEditQueryUserAfter 2021-04-14 16:23:21 +02:00
Stephan Seitz
4598f90f34 docs: Add documentation for :TSEditQuery 2021-04-14 16:23:21 +02:00
Marco Hinz
06c9ef8104 TSModuleInfo: change doc 2021-04-06 21:32:46 +02:00
Steven Sojka
6863f79118
refactor(all): language tree adaption (#1105) 2021-03-30 08:18:24 -05:00
Steven Sojka
7984975a2f
feat(install): allow ignore list when installing parsers (#1098) 2021-03-24 09:12:03 -05:00
Santos Gallegos
e4083fc8e1
Add comment parser to highlight comment tags (#893)
Closes #236
2021-03-12 11:21:46 -05:00
Dennis B
aca33c0aca [highlights] Add TSSymbol highlight group
Addresses issue #892

Ruby and Dart literal symbols will now be highlighted by the new
TSSymbol highlight group, which itself will, by default, link to the Vim
Identifier highlight group. Vim theme authors can then set their
TSSymbol colors.

Symbol highlighting can apply to a number of languages as noted in the
following Wikipedia page: https://en.wikipedia.org/wiki/Symbol_(programming)

Not just for Ruby and Dart.
2021-03-04 06:19:40 +01:00
Santos Gallegos
b86555d9c3 HTML: improve highlights & injections 2021-02-11 07:42:19 +01:00
echasnovski
d3901e5833 Update documentation for Enable/Disable commands. 2021-02-01 19:37:39 +01:00
echasnovski
fdfbb5c1bf Implement TSToggleAll. 2021-02-01 19:37:39 +01:00
echasnovski
8e2807d09e Implement TSBufToggle. 2021-02-01 19:37:39 +01:00
delphinus
b938e4f0fe Remove deprecated highlights 2020-12-21 22:32:17 +01:00
Jonathan
7a193b51bd Fix doc typo 2020-12-13 11:14:05 +01:00
rockerBOO
913261739d Add TSComment to docs 2020-12-07 21:50:47 +01:00
rockerBOO
07e86b1553 docs: Update docs for missing groups, re-order alphabetically 2020-12-07 21:50:47 +01:00
Stephan Seitz
c3b526fe51 feat(install): add "maintained" option to only install maintained parsers
Unmaintained parsers only give users little benefit but take sometimes a
a long time to install (e.g. Markdown, Julia, Haskell parser). We could
recommend to only install maintained parsers by default.
2020-10-26 12:42:10 +01:00
kiyan42
f115d0ebaa update docs 2020-10-19 21:41:57 +02:00
Thomas Vigouroux
a1de79e93a docs(highlights): document LanguageTree. 2020-10-19 18:28:45 +02:00
Kristijan Husak
9ad47c65bd Use utils get_node_text to get line content and trim all whitespaces. 2020-10-11 13:35:18 +02:00
Kristijan Husak
3aa7e575e2 Remove old statusline implementation with new one. 2020-10-11 13:35:18 +02:00
Kristijan Husak
62df1143da Add implementation for improved statusline. Closes #545. 2020-10-11 13:35:18 +02:00
Stephan Seitz
45397ebbd9 fix(highlights): Add TSNamespace highlight
Start adding highlights for
     - C++
     - Rust (including other scoped_identifier/scoped_type_identifier fixes)
     - JS (only namespace_import)

Addresses #516
2020-10-10 15:31:51 +02:00
Steven Sojka
82a8b859c6 chore(modules): remove refactor module 2020-09-25 10:30:35 -05:00
Stephan Seitz
bcf421b4e7 Fix #307: Use and document TSVariable/TSVariableBuiltin in all languages 2020-09-14 18:27:20 +02:00
Sh3Rm4n
97113abedc Fix typo in foldexpr example 2020-09-14 14:36:36 +02:00
Santos Gallegos
a755017dd5 Highlight definition: mention updatetime in docs
Ref https://github.com/nvim-treesitter/nvim-treesitter/issues/435
2020-09-11 21:53:23 +02:00
Santos Gallegos
7b972d581c Fold: update docs
Document foldnestmax.
2020-09-08 15:07:23 +02:00
Santos Gallegos
1a42056e09 Highlights: default TSError to Normal
This provides a better experience for users
without any extra config.
2020-09-06 16:12:02 +02:00
Constantine Theocharis
36f3e036e5 Change 'install' -> 'index' 2020-09-02 23:29:27 +02:00
Constantine Theocharis
a52c639d80 Modify description slightly and place modeline at the end 2020-09-02 23:29:27 +02:00
Constantine Theocharis
10ef8f98ef Add section 'Performance' to docs 2020-09-02 23:29:27 +02:00
Stephan Seitz
bc36521967 feat(refactor.navigation): allow a fallback_function for goto_definition
`fallback_function` is called when nvim-treesitter can not resolve the
variable under the cursor.
2020-08-31 22:16:27 +02:00
Stephan Seitz
5948aba886 feat(refactor.navigation): add navigation.goto_{next,previous}_usage 2020-08-31 18:56:41 +02:00
Stephan Seitz
2bd13c9d41 docs: fix syntax error in README example 2020-08-26 13:22:31 +02:00
evakuator
6f1908a2ec Docs: remove enable=true from textobjects module 2020-08-20 09:00:46 +02:00
Santos Gallegos
7f81df4409 Docs: documentation for modules/submodules 2020-08-18 19:15:47 +02:00
Steven Sojka
b796f0725d
Merge pull request #305 from theHamsta/textobjects-submodules
Textobjects submodules
2020-08-17 11:39:22 -05:00
delphinus
0b3cd6c131 Avoid duplication of help tags 2020-08-17 17:56:05 +02:00
kiyan42
20e448882e some refacto, doc fixes and jsx queries
- compute query language extensions *after* default ones
(jsx after javascript)
- remove outdated ts_utils functions from docs
- add better regex detection to javascript
- javascriptreact to use javascript queries
- add javascript.jsx to javascript queries
- write jsx.scm hl file
2020-08-17 17:48:33 +02:00
Stephan Seitz
e629efafd8 Textobjects: provide mappings for all swap/goto functions 2020-08-17 17:44:40 +02:00
Stephan Seitz
d2c5e496c0 docs(hlgroups): document TSAnnotation, TSCurrentScope, TSDefinition,
TSDefinitionUsage
2020-08-16 21:45:26 +02:00
Steven Sojka
579c9936d6 feat(highlights): add is predicate 2020-08-16 09:04:07 -05:00