Commit graph

422 commits

Author SHA1 Message Date
TravonteD
4967a3b32b Update name for the neovim highlighter.
The name of the highlighter is TSHighlighter in the latest neovim
nightly, so I've made the adjustment here.
2020-08-16 16:55:28 -04:00
Santos Gallegos
ed3469b59f Python: update locals 2020-08-16 21:49:14 +02:00
Stephan Seitz
d2c5e496c0 docs(hlgroups): document TSAnnotation, TSCurrentScope, TSDefinition,
TSDefinitionUsage
2020-08-16 21:45:26 +02:00
Santos Gallegos
d4d77d6053 Docs: document @punctuation.special 2020-08-16 20:36:32 +02:00
Steven Sojka
ce43dbf54c fix(queries): use vim-match for non lua regexes 2020-08-16 18:31:56 +02:00
Steven Sojka
4a747aa30c
Merge pull request #296 from steelsojka/feat-is-predicate
feat(highlights): add is predicate
2020-08-16 11:27:15 -05:00
Steven Sojka
5462027beb
Merge pull request #295 from steelsojka/feature/set-scopes-for-definitions
feat(defintions): allow setting of scope
2020-08-16 11:26:44 -05:00
Steven Sojka
7f7219b379 feat(definitions): allow setting of scope 2020-08-16 09:10:09 -05:00
Steven Sojka
579c9936d6 feat(highlights): add is predicate 2020-08-16 09:04:07 -05:00
Chinmay Dalal
64df3e1791 [java] Add label highlight 2020-08-16 09:58:33 +02:00
Rafał Camlet
83210fa412 fix: check 'after' against third directory 2020-08-15 22:03:33 +02:00
Steven Sojka
994baf4539
Merge pull request #291 from vigoux/post-upstream-work
fix: refactor after upstream refactor
2020-08-15 08:22:14 -05:00
Thomas Vigouroux
a9abe2b9b0 docs: document the new runtime query system 2020-08-14 16:42:53 +02:00
Thomas Vigouroux
26c8d1eac0 feat: intuitive runtime queries
Starting now, runtime queries will be sourced in this order :

- Queries that are not in any `after` folder, will serve as a base, with
each occurence overwriting the others (that is, .config/nvim/queries has
the highest priority)
- Queries within the `after` directory will be sourced one after the
other.

The rationale is that this reminds all the `.vim` files (ftplugin) for
example, and this allows both to experiment and to override queries
easily.
2020-08-14 16:42:53 +02:00
Thomas Vigouroux
98b7515014 fix: refactor after upstream refactor 2020-08-14 15:00:13 +02:00
Steven Sojka
e5434fc21e fix(locals): add shorthand identifiers as references and definitions 2020-08-14 14:22:05 +02:00
Stephan Seitz
187dc8e3f5 Python highlights: Highlight ->, ... 2020-08-14 13:53:00 +02:00
Steven Sojka
52420544ff
Merge pull request #284 from steelsojka/fix-usages
fix(definitions): optimize and fix definition highlighting
2020-08-14 06:42:33 -05:00
Steven Sojka
282e33ad9c fix(definitions): optimize and fix definition highlighting 2020-08-13 07:43:09 -05:00
Thomas Vigouroux
1846d92ec6 fix(highlight): link TSVariable to Normal 2020-08-13 14:09:48 +02:00
Stephan Seitz
c41b6e9197 Fix #286: Highlight C++ raw_string_literal 2020-08-13 09:48:07 +02:00
Steven Sojka
7806b16cc2 fix(java): add lambdas as a scope 2020-08-12 21:20:54 +02:00
Thomas Vigouroux
ba3167a1a4 perf: cache parser file list for performance 2020-08-11 20:21:22 +02:00
Santos Gallegos
8f3b601bcc RST: update textobjects 2020-08-11 20:21:03 +02:00
Thomas Vigouroux
b70269f01c docs: advertize zulip instead of gitter 2020-08-11 15:52:29 +02:00
Laxman Sooriyathas
0478fe8a48 pass full module path in recurse accumulator to enable/disable sub modules 2020-08-11 14:12:56 +02:00
Stephan Seitz
1c366a3a1c Lua highlights: add operator "=" and punctuation 2020-08-11 14:11:24 +02:00
Steven Sojka
4f2689c501
fix(locals): fix find definition implementation (#274)
Co-authored-by: Thomas Vigouroux <39092278+vigoux@users.noreply.github.com>
2020-08-11 09:53:05 +02:00
Steven Sojka
4982d05ec7 fix(queries): don't load queries on startup 2020-08-11 09:50:30 +02:00
Steven Sojka
47a4eadf44
Merge pull request #273 from vigoux/fix-enable-disable
configs: actually enable and disable on setup
2020-08-10 15:10:34 -05:00
Thomas Vigouroux
0a1353e8aa configs: actually enable and disable on setup 2020-08-10 19:01:22 +02:00
Thomas Vigouroux
5a7579c8f5 fix(highlight): Use TSParameter 2020-08-10 14:17:55 +02:00
Akin Sowemimo
bbe8e5eab2 Update contributing.md 2020-08-09 19:12:26 +02:00
Akin Sowemimo
941e40f659 Re add missing comments 2020-08-09 19:12:26 +02:00
Akin Sowemimo
1427c43cf0 Change capture groups and add variable highlights 2020-08-09 19:12:26 +02:00
Akin Sowemimo
aaa990053a Add break and increment operators and tweak formatting 2020-08-09 19:12:26 +02:00
Akin Sowemimo
942fe70452 Add todo comment and change this highlight group 2020-08-09 19:12:26 +02:00
Akin Sowemimo
d4fbbc05af Add new highlight queries 2020-08-09 19:12:26 +02:00
Santos Gallegos
429036317a Lua: highlight function name 2020-08-09 18:38:00 +02:00
Santos Gallegos
688161c174 Add troubleshooting for when a parser changes
This should be merged after https://github.com/nvim-treesitter/nvim-treesitter/pull/243
2020-08-09 17:34:02 +02:00
Thomas Vigouroux
6133257ed6 highlights(rust): fix some type highlights. 2020-08-07 15:03:20 +02:00
Thomas Vigouroux
94a5056269 highlights(rust): add async/await keywords 2020-08-07 15:03:20 +02:00
Santos Gallegos
81d444c498 RST: update queries 2020-08-07 10:51:00 +02:00
Rafał Camlet
3c7528a294 Add noremap option to mappings 2020-08-06 13:28:53 +02:00
Shirasaka
dccc250add PHP: Update locals query 2020-08-05 21:28:50 +02:00
Santos Gallegos
124ff3bf56 Python: update textobjects queries 2020-08-04 10:09:11 +02:00
Santos Gallegos
32c19ec1e8 Lua: fix @error capture 2020-08-04 08:07:49 +02:00
Shirasaka
f372e2ab87 Add PHP, TOML, and update HTML, javascript queries
- PHP         : Add highlights and locals query
- TOML        : Add highlights and locals query
- HTML        : Add scope
- javascript  : Add some scopes
2020-08-04 08:05:51 +02:00
Stephan Seitz
a0abaf936c Lua locals: Make property_identifier a reference 2020-08-03 08:06:40 +02:00
Stephan Seitz
0f1dcc396a feat(install): Export iter_cmd 2020-08-02 22:58:08 +02:00