Commit graph

1911 commits

Author SHA1 Message Date
GitHub
bdb2fe5a0d Update lockfile.json 2021-11-26 22:55:12 +01:00
Github Actions
c25aa3d41a [docgen] Update README.md
skip-checks: true
2021-11-26 22:42:55 +01:00
Stephan Seitz
3fd8bbd3d8 parsers(fusion): add .git suffix necessary for Gitlab projects 2021-11-26 22:42:55 +01:00
GitHub
2d723dedca Update lockfile.json 2021-11-26 22:42:55 +01:00
Stephan Seitz
61b21254ee parsers(fusion): add info about main branch 2021-11-26 22:04:59 +01:00
Jirgn
096f0e91be fix: incorrect hightlight groups 2021-11-26 22:04:59 +01:00
Jirgn
85bc7431e8 fix: listing of grammar support 2021-11-26 22:04:59 +01:00
Jirgn
a0ad73493e fix: typo in highlight group punct(u)ation 2021-11-26 22:04:59 +01:00
Jirgn
49f0ef8e54 fix: revert autogenerated lockfile for non fusion
This reverts commit 78b194f66c.
2021-11-26 22:04:59 +01:00
Jirgn
a14e48ea8a fix: mark support experimental 2021-11-26 22:04:59 +01:00
Jirgn
26cf867238 fix: autogenerated lockfile 2021-11-26 22:04:59 +01:00
Jirgn
13df8ee651 fix: autogenerated README 2021-11-26 22:04:59 +01:00
Jirgn
979c32493d feat: add fusion grammar and highlights 2021-11-26 22:04:59 +01:00
Sergio Alejandro Vargas
fbbcfa7b6c highlights(rust): organize keywords and literals
- sort keywords
- highlight super as a namespace (same as crate)
- highlight `break` and `continue` as `repeat` keywords
- don't highlight `macro_rules!` as a keyword
- place all literal queries together
- place function definition queries alongside function call queries
2021-11-25 23:53:41 +01:00
Sergio Alejandro Vargas
81f75a54ff highlights(rust): update operators
- sort operators
- remove duplicated `*`
- add missing `<<=`

- highlight `as` correctly in path aliasing
- highlight leading quote `'` as part of a label (not an operator)
- highlight never type `!` as a type

- sort and format punctuation
2021-11-25 23:53:41 +01:00
Stephan Seitz
08243017f2 Rename queries: godotResource -> godot_resource 2021-11-25 23:02:57 +01:00
GitHub
531cb21d21 Update lockfile.json 2021-11-25 23:02:57 +01:00
Stephan Seitz
b2af0d3df4 parsers: godotResource -> godot_resource
Follows upstream renaming
2021-11-25 22:29:42 +01:00
GitHub
a735307abf Update lockfile.json 2021-11-25 22:29:42 +01:00
numToStr
bbbb2f1f32 chore: add test for ecma private fields & methods 2021-11-25 15:42:24 +01:00
numToStr
801c7f0b48 ecma: highlight private properties and methods 2021-11-25 15:42:24 +01:00
Greg Werbin
1f68918e09 Don't use the Bash grammar for Zsh files
Zsh and Bash are not interchangeable.

See <https://github.com/nvim-treesitter/nvim-treesitter/issues/655#issuecomment-978036615>
2021-11-24 18:09:49 +01:00
Stephan Seitz
b004d74bb5 Add assert that "highlight-assertions" is executable 2021-11-24 17:29:55 +01:00
Stephan Seitz
771abaf531 ci: Add workflow for tests 2021-11-24 17:29:55 +01:00
Stephan Seitz
c7634f16de Mark failing indent tests to add them to CI
Expected failures should be monitored so that we don't have regressions
and also remove failure marks when they are resolved.
2021-11-24 17:29:55 +01:00
Stephan Seitz
0f3c94cf72 Update run_tests to be more scalable with more test folders added 2021-11-24 17:29:55 +01:00
Stephan Seitz
53ba38327e Add highlight tests 2021-11-24 17:29:55 +01:00
Stephan Seitz
8016b74cea ci: Try out windows-2022 2021-11-24 14:47:07 +01:00
Marco Galli
afed686e6a Add glsl ftdetect 2021-11-23 20:00:51 +01:00
GitHub
cda3978b86 Update lockfile.json 2021-11-23 16:46:44 +01:00
maxxnino
ff2897e5b7 zig: highlight zig format, type and function 2021-11-23 16:46:27 +01:00
Lewis Russell
011ac894ec Prefer lua-match over match
as string.find is much quicker than vim.regex:match*
2021-11-23 10:02:06 +01:00
GitHub
89fbb9b39e Update lockfile.json 2021-11-20 17:38:56 +01:00
Santos Gallegos
b784ca7fca Add query error: invalid node type at position to the troubleshooting section
We have had many of these recently...
2021-11-20 17:32:50 +01:00
aspeddro
190bcc8d56 r add new highlights 2021-11-18 14:16:09 +01:00
GitHub
997c70b77b Update lockfile.json 2021-11-18 09:32:45 +01:00
Santos Gallegos
1e5e028cb7 Format with stylua
CI is failing for stylua due to this.
2021-11-18 09:26:01 +01:00
vhyrro
d78fb79ed6
Add basic vimscript injection in vim.cmd/nvim_command/nvim_exec (#1922) 2021-11-16 21:14:22 -05:00
Santos Gallegos
bc7fb7fe7f Just one line 2021-11-16 21:03:52 -05:00
Santos Gallegos
9ee1de787a Docs: update docs on how to override a query
`queries/` and `after/queries/` are the same now.
I kind of prefer the old method, but just updating our docs to reflect
the reality for now.

Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1710
Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1441
2021-11-16 21:03:52 -05:00
Github Actions
a47df48e7d [docgen] Update README.md
skip-checks: true
2021-11-14 11:02:57 +01:00
Santos Gallegos
b972f1d985 C: fix preproc parameters
This was capturing too much,
we only want to highlight the identifier.

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1999
2021-11-14 11:02:57 +01:00
GitHub
724f8c7e79 Update lockfile.json 2021-11-12 22:13:05 +01:00
aspeddro
741812af8f r add new highlights 2021-11-12 22:02:52 +01:00
Stephan Seitz
8fe8415ae8 injections(http): add comment injection 2021-11-12 21:52:50 +01:00
gegoune
bb0ef18488 refactor: inherit json 2021-11-12 21:52:50 +01:00
gegoune
599bdaf2f0 fix: address change requests 2021-11-12 21:52:50 +01:00
gegoune
a93c5b80d7 feat: add http parser
All credit goes to @NTBBloodbath.

See: https://github.com/NTBBloodbath/rest.nvim/issues/75#issuecomment-960447966

Co-authored-by: NTBBloodbath <bloodbathalchemist@protonmail.com>
2021-11-12 21:52:50 +01:00
Fabian David Schmidt
fba03a304e feat: get node at cursor of other win 2021-11-12 20:56:09 +01:00
patrick96
e3dabec462 Add condition function to module config
The function is called with the language and bufnr, if it returns false,
the module is disabled for that buffer.

This gives the user more fine-grained control over whether a module is
started.
2021-11-12 19:55:04 +01:00