Commit graph

2135 commits

Author SHA1 Message Date
Munif Tanjim
2c7c87570b ci: cache parsers for workflows/tests 2022-01-21 17:52:06 +01:00
GitHub
e7875c025b Update lockfile.json 2022-01-21 17:47:08 +01:00
Munif Tanjim
fb7b6a266e test(indent): rust - add test for indented comment 2022-01-21 16:40:36 +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
46438064ac refactor(indent): extract functions and support metadata 2022-01-21 10:51:51 +01:00
Munif Tanjim
85140a7a47 feat(indent): use native Query:iter_captures 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
Github Actions
f048886f82 Update README 2022-01-20 19:22:27 +01:00
Christian Clason
4bc6de390b
Update Lua parser to fix infinite recursion (#2308)
fixes #2305
2022-01-20 19:21:07 +01:00
Michael Härtl
04a48e317e
Add phpdoc maintainer (#2311) 2022-01-20 17:32:01 +00: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
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
Github Actions
4581400e44 Update README 2022-01-18 22:54:18 +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
668de0951a chore: remove swift tests for now (cause CI failure)
Will try to add them again in a follow up.
2022-01-18 22:09:21 +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
GitHub
8b1d390619 Update lockfile.json 2022-01-18 10:09:50 +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
Michael Härtl
723d91e821 highlights(php): detect constructor calls on instantiation 2022-01-17 21:38:40 +01:00
GitHub
976659761d Update lockfile.json 2022-01-17 16:53:00 +01:00
Stephan Seitz
788814fb06 highlights(cpp): add support for "<=>", "constinit", "consteval" 2022-01-17 16:52:45 +01:00
Christian Clason
1b9d059c55 docs(readme): mention tracking issue for language support 2022-01-17 16:34:39 +01:00
GitHub
6a72c9f33a Update lockfile.json 2022-01-17 11:22:35 +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
77c006eb08 Add ftdect for hack 2022-01-17 10:53:35 +01:00
Github Actions
b64f848f59 [docgen] Update README.md
skip-checks: true
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
3f8917ac73 parsers: add hack parser 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
Stephan Seitz
4cf688ee68 ci: fix markdown tests 2022-01-16 19:14:52 +01:00
Elwardi
82fcdb2a2a support PyFoam syntax in OpenFOAM files 2022-01-16 18:59:29 +01:00
GitHub
5519ced35b Update lockfile.json 2022-01-16 18:09:28 +01:00
Stephan Seitz
dada29a1e5 fix(ci): make highlight test working with markdown 2022-01-16 17:16:54 +01:00
Stephan Seitz
7889b3aea8 highlights(rust): add "yield" keyword 2022-01-16 16:27:29 +01:00
Kid
1c9a546fcd Tighten requirements 2022-01-16 16:09:52 +01:00
Kid
f07dc05bb6 Recommend nightly 2022-01-16 16:09:52 +01:00
Kid
15a8a40f27 Remove nightly Neovim requirement from README 2022-01-16 16:09:52 +01:00
Stephan Seitz
19c56afc06 ci: print query loading times 2022-01-16 15:56:56 +01:00