Vasiliy Morkovkin
620cc936ad
update TLA+ revision, add queries for PlusCal ( #2344 )
2022-01-25 21:02:20 +00:00
Clay
2532937ba1
Add tree-sitter-eex parser for (L)EEx files ( #2351 )
2022-01-25 16:52:51 +00:00
Cédric Barreteau
91fdda9b5c
folds(c): fold at compound_statement
2022-01-24 22:56:58 +01:00
Stephan Seitz
ae4c982f94
indents(php): align with C indentation
...
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/2357
2022-01-24 22:33:41 +01:00
Thomas Vigouroux
2bdaff2ab0
feat(vim): highlight "higlight" variants
2022-01-24 13:24:31 +01:00
Thomas Vigouroux
073a3ac929
feat(vim): support syntax command
2022-01-24 13:24:31 +01:00
Ryan Roden-Corrent
f67eb83be5
feat(indent): Implement basic indent for gdscript.
...
Indent is not handled correctly when adding new lines.
It seems that functions/loops/etc. are not recognized until they have at
least one indented block.
For example, if you enter a newline after `func foo():`, the cursor will
not be indented. If you manually indent and add a line like `pass`,
e.g.:
```
func foo():
pass
```
now any insertions above or below `pass` will be indented correctly.
This might be an issue with the grammar, as it seems to apply to highlights
as well.
The following will not be highligted
```
func foo():
```
However, the following will be:
```
func foo():
pass
```
2022-01-24 13:11:01 +01:00
Michael Härtl
d3dbd4590e
fix(phpdoc) Improve keyword query
2022-01-24 11:47:11 +01:00
Clay
9e90866bce
Upgrade to HEEx parser 0.3.0
2022-01-24 08:29:42 +01:00
Clay
c7d5ba7212
Add new Elixir language injections
2022-01-24 08:27:44 +01:00
Clay
7a1c404fe7
Fix highlights of module attributes and doc sigils
2022-01-24 08:27:44 +01:00
Pedro Castro
6a958eccef
highlights(r): change groups priority
2022-01-22 11:31:58 +01:00
Munif Tanjim
c2e3938510
fix(indent): rust - support newline after closing brace
2022-01-21 16:40:36 +01:00
Munif Tanjim
7a6d93ca5b
feat(indent): ecma - support common use-cases
2022-01-21 16:40:36 +01:00
Munif Tanjim
782e299cd6
fix(indent): c/cpp - support newline after closing brace
2022-01-21 16:40:36 +01: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
Munif Tanjim
baf94219aa
feat: improve indent module
...
get_node_at_line should return appropriate child if available
2022-01-21 10:51:51 +01:00
Michael Härtl
d7c4ae886d
parsers: add phpdoc parser (experimental)
2022-01-20 15:37:44 +01:00
John Drouhard
d0158c053d
highlights(c): don't highlight type qualifiers in declarations as types
2022-01-20 08:40:51 +01:00
Michael Härtl
983c46d55c
fix(php) match magic and single letter constants
2022-01-19 19:17:01 +01:00
Christian Clason
c80715f883
feat(lua)!: switch from our fork to MunifTanjim's ( #2272 )
...
also take queries from https://github.com/MunifTanjim/nvim-treesitter-lua/tree/main/queries/lua
BREAKING CHANGE: queries are not compatible; modules will have to update
2022-01-18 22:15:26 +01:00
Stephan Seitz
cc1890528f
highlights(swift): add more @operators and implicit keyword
2022-01-18 22:09:21 +01:00
Stephan Seitz
8025b90329
highlights(swift): highlight "->" as @operator
2022-01-18 22:09:21 +01:00
Stephan Seitz
a3c86fe843
highlights(swift): highlight punctuation
...
"?" is still missing:
https://github.com/tree-sitter/tree-sitter-swift/issues/38
2022-01-18 22:09:21 +01:00
captainko
b42de97339
feat(java)(highlights): add missing highlights for @type
2022-01-18 21:59:36 +01:00
Michael Härtl
723d91e821
highlights(php): detect constructor calls on instantiation
2022-01-17 21:38:40 +01:00
Stephan Seitz
788814fb06
highlights(cpp): add support for "<=>", "constinit", "consteval"
2022-01-17 16:52:45 +01:00
Stephan Seitz
6a61461d18
highlights(hack): add keywords implements
2022-01-17 10:53:35 +01:00
Stephan Seitz
cc0bdabe5f
highlights(hack): extend queries add tests
2022-01-17 10:53:35 +01:00
Stephan Seitz
d53de75cfd
highlights(hack): add some basic highlights
...
Fixes #2041
2022-01-17 10:53:35 +01:00
Stephan Seitz
3ee34749bc
locals(cpp): add support for concepts
2022-01-16 22:19:34 +01:00
Stephan Seitz
db01c82b08
highlights(cpp): add support for concepts
...
Requires https://github.com/tree-sitter/tree-sitter-cpp/pull/138
2022-01-16 22:19:34 +01:00
Elwardi
82fcdb2a2a
support PyFoam syntax in OpenFOAM files
2022-01-16 18:59:29 +01:00
Stephan Seitz
7889b3aea8
highlights(rust): add "yield" keyword
2022-01-16 16:27:29 +01:00
antosha417
317f5c7471
add hocon
2022-01-16 14:59:39 +01:00
Christian Clason
f3e554ed7b
highlight(swift): add upstream queries
2022-01-16 14:27:24 +01:00
Stephan Seitz
152af07ecf
highlights/injections/indents(java): comment -> line_comment,block_comment
...
Ref https://github.com/tree-sitter/tree-sitter-java/pull/93
2022-01-16 14:24:20 +01:00
Infectos
1da55c27cc
fix(php): change query for @constructor group
2022-01-16 12:02:24 +01:00
Michael Härtl
749f72d351
highlights(php): fix and add missing highlights
2022-01-15 12:32:03 +01:00
Ananda Umamil
a76e1eb89d
highlights(haskell): function with type signature
2022-01-13 21:48:35 +01:00
koalp
c6afb729b9
highlights(julia): add highlight for block comments
2022-01-13 17:56:06 +01:00
Jendrik Stelzner
31fe7ee4f9
Add a missing LaTeX hightlight.
...
Add \eqref to the list of referencing commands.
2022-01-13 09:44:03 +01:00
Michael Chris Lopez
1f8ef8fe52
highlights(vue): improve vue highlights
...
- remove template_name and element and make more specific targeting
2022-01-12 12:10:07 +01:00
Michael Chris Lopez
5e2121a227
highlights(html_tags): more specific attribute_value target
2022-01-12 12:10:07 +01:00
Jendrik Stelzner
41a097d9c5
Add LaTeX highlights: addpart, addchap, addsec.
...
Add highlight for the LaTeX sectioning commands \addpart, \addchap, \addsec and their starred variants.
2022-01-12 00:41:26 +01:00
MDeiml
9fff379c17
Add highlight for markdown delimiters
2022-01-11 12:05:56 +01:00
MDeiml
b5cdb868c7
Fix slow startup times for markdown grammar
2022-01-10 20:32:27 +01:00
Stephan Seitz
0d53066533
highlights(llvm): import highlight queries from upstream
2022-01-09 20:17:08 +01:00