Christian Clason
5b90ea2aba
feat(locals)!: switch to upstream captures
2024-01-19 16:58:37 +01:00
aMOPel
6e4a770799
docs: improve description of @type.definition capture
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-10-20 15:59:56 -04:00
Pham Huy Hoang
78b54eb7f6
chore(injections)!: update injection syntax to 0.9
...
Since 0.9, @lang syntax is still available as fallback but will soon be deprecated.
Because of that, new syntax should be adopted once 0.9 becomes the
baseline requirements for nvim-treesitter
- update health check
- update doc
2023-08-12 17:34:15 +02:00
Lewis Russell
d9be302f74
fix(spell): do not spell check certain types of strings ( #5203 )
...
- Document that only certain kinds of strings are spell checked, and
reasons why they may not.
- Remove spell checking for bash strings.
2023-08-07 13:42:24 +01:00
Christian Clason
a034c7aa25
fix(highlights): lower priority for codeblocks with injections ( #4905 )
2023-06-05 14:09:44 +02:00
Chris Kipp
9711139326
docs: add a small note about local queries
...
This just adds a small note in the CONTRIBUTING section about local
queries and how they differ from those listed upstream.
2023-04-03 01:54:02 -07:00
George Harker
cb568af539
use indent.X syntax for captures and properties of set directives
...
update CONTRIBUTING.md
adjust indents for bass
fix doc capture comment
2023-03-24 13:07:53 -04:00
Amaan Qureshi
3a82b58745
docs: add @comment.documentation
2023-03-05 17:15:32 -05:00
Amaan Qureshi
51030378eb
docs: add @string.documentation
2023-03-05 17:15:32 -05:00
Amaan Qureshi
1bf4be0441
docs: add @keyword.coroutine
2023-03-03 07:07:52 -08:00
Bulgantamir Gankhuyag
c90fa75784
Update CONTRIBUTING.md
...
Fixed link of the supported languages.
2023-02-18 00:16:30 -08:00
Kiyoon Kim
80e41f22ce
prettier formatting yml and md
2023-02-16 01:48:37 -08:00
ObserverOfTime
341bbae864
docs: fix comment alignment
2023-01-21 14:37:07 +02:00
Chris Kipp
5e9c6b6ba0
docs: swap life-time around
...
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-01-15 11:58:02 +02:00
Chris Kipp
c4c543ed1d
docs: clarify @storageclass in CONTRIBUTING docs
...
This is just a tiny change that was in reference to
https://github.com/nvim-treesitter/nvim-treesitter/pull/4153#discussion_r1070276800 .
The basis is that `@storageclass` should only be used unless it's
actually affecting storage in memory. There are further conversations
about this in the following places:
- https://github.com/nvim-treesitter/nvim-treesitter/pull/3648#issuecomment-1279923861
- https://github.com/nvim-treesitter/nvim-treesitter/pull/3648#issuecomment-1291624844
2023-01-15 11:58:02 +02:00
Christian Clason
7e4a7c4508
markdown: add strikethrough and blockquote captures
2023-01-14 11:52:25 +01:00
Stephan Seitz
afe4e94f1a
docs: remove remaining references to Zulip
2023-01-11 21:17:08 +01:00
Stephan Seitz
d6a2ecb8b7
highlights: create subscoping for ternary operator
...
After https://github.com/nvim-treesitter/nvim-treesitter/issues/470 ,
we decided to use `@conditional` for ternary operator instead of
operator despite `@conditional` is documented for keywords only.
A sub-scoping can make it easier for people to highlight this operator
group differently.
Also unify the usage of `@conditional...` across languages.
2022-12-02 21:42:11 +01:00
ObserverOfTime
7d7feb859a
docs: fix contributing guidelines
2022-11-26 13:17:51 +02:00
Christian Clason
37071a2e97
docs: add @nospell to contributing.md
...
supported as of Neovim v0.8.1
2022-11-19 16:31:38 +01:00
Trard
00b42ac6d4
rust: use @type.qualifier and @storageclass
2022-11-06 18:10:42 +01:00
gbprod
1e4b23c266
feat(diff): add diff parser
...
This commit introduce diff parser.
2022-10-19 16:22:58 -07:00
ObserverOfTime
17aef2898b
docs: document all the captures in CONTRIBUTING.md
2022-10-17 12:12:34 +02:00
Cameron
312a9ba483
Update CONTRIBUTING.md
...
Add `@variable.globle` to available variable captures.
2022-09-10 11:07:45 -07:00
Lewis Russell
2a63ea5665
feat(spell): upstream spell queries from spellsitter
2022-09-06 12:44:19 +01:00
lfenzo
460d24a12d
Updated CONTRIBUING.md
2022-08-03 12:05:30 -07:00
Gregory Anders
e2b2d2357b
Add capture groups for remaining builtin highlight groups
...
Some builtin highlight groups (see `:h group-name`) do not yet have
associated capture groups, so add them.
2022-03-30 22:14:23 +02:00
sogaiu
9c2def8fa1
Zulip link was missing protocol portion?
2022-03-30 16:02:38 +02:00
Stephan Seitz
cd4d802175
highlights: conceal " in JSON
...
Fixes #645
2022-03-26 18:36:49 +01:00
Stephan Seitz
ff96940767
docs: add @zero_indent to CONTRIBUTING.md
2022-02-05 18:54:55 +01:00
Vasiliy Morkovkin
620cc936ad
update TLA+ revision, add queries for PlusCal ( #2344 )
2022-01-25 21:02:20 +00:00
Munif Tanjim
8f9d4ada35
feat(indent): ecma - support try_catch and if_else
2022-01-21 16:40:36 +01:00
Munif Tanjim
bb60706433
feat(indent): support @aligned_indent for python
2022-01-21 10:51:51 +01:00
Munif Tanjim
c0110e34aa
feat: rewrite indent module
2022-01-21 10:51:51 +01:00
Stephan Seitz
45d384eb3b
docs(CONTRIBUTING.md): mention Neovim's tree-sitter Matrix channel ( #2294 )
...
As suggested here:
https://github.com/nvim-treesitter/nvim-treesitter/pull/2288#issuecomment-1015163267
2022-01-19 12:57:55 +01:00
Thomas Vigouroux
82916a9d57
docs: refresh CONTRIBUTING.md
...
- Mention Zulip instead of Gitter
- Use query filetype instead of scheme
2022-01-18 09:22:10 +01:00
Santos Gallegos
56634f49ab
Update queries
...
- Don't use the old form for predicates
- Update some invalid queries
2021-12-22 21:17:28 +01:00
Omer Tuchfeld
4f2b4238ee
Fix misleading text in CONTRIBUTING.md ( #2137 )
2021-12-18 18:07:18 +00:00
Dundar Göc
6a4fdb317d
chore: fix typos
2021-11-02 23:47:48 +01:00
Abin Simon
705918abc2
Typo fix and reword doc
2021-09-08 02:21:39 +02:00
Stuart Mashaal
4f2265632b
add keywords to scala highlights ( #1662 )
...
* add keywords to scala highlights
* special capture for special keywords
* add while to 'repeat' capture
* pr cleanup, exmaples in CONTRIBUTING.md
* add backquotes for consistency in docs
* group @repeat keywords, fix null
* comment-out 'macro' and 'forSome'
* fix 'this' and 'super' keyword
* remove accidental files 🤦
* update revision
* fix "super" and "this"
* godammit these .metals files are killing me
* why did I commit this???
Co-authored-by: Stuart Mashaal <smashaal@hopper.com>
2021-08-25 18:38:45 -05:00
lmlorca
fb5d6e04a8
add @tag.attribute for html like attributes
2021-07-14 10:13:13 +02:00
Santos Gallegos
be8f656087
Use stylua for autoformat code ( #1480 )
2021-07-04 21:12:17 +00: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
Santos Gallegos
c1f61d4ca1
Improve check-queries ( #1253 )
...
- Add checks for injections.
- Allow queries that start with [A-Z] for highlights only.
- Don't stop on the first error, finish checking all queries.
2021-05-31 17:03:27 +00:00
Stephan Seitz
712cc78a1e
Add text.reference and text.environment
2021-03-30 19:26:37 +02:00
Stephan Seitz
0556edf5f3
latex: add TSMath that behaves like vimtex math highlighting
2021-03-30 19:26:37 +02: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