Commit graph

1854 commits

Author SHA1 Message Date
Connor Lay (Clay)
886261a96b Update injections & highlights, add folds 2021-10-13 01:31:49 +02:00
Connor Lay (Clay)
ec5341a773 Update injections for new elixir-lang parser 2021-10-13 01:31:49 +02:00
Connor Lay (Clay)
e0125a5a1c Update highlights for new elixir-lang parser 2021-10-13 01:31:49 +02:00
Connor Lay (Clay)
1676efb9b7 Switch to official elixir-lang parser 2021-10-13 01:31:49 +02:00
Javier López
66f1873213 feat(healthcheck): support native lua healthchecks, and fixes
After neovim/neovim#15259 lua healthchecks are called directly and are
prefered over neovim autoload ones. The discover of Lua ones requires
the function to be named "check()".

Also the mentioned PR changed the design of healthchecks to not use
output capturing, therefore avoid printing and instead concatenate and
call the health functions.
2021-10-11 09:47:16 +02:00
Stevan Milic
ea0f6614b7 Add scala maintainer
Add fold for scala val definition to support type class entries
2021-10-07 23:24:45 +02:00
Cezary Drożak
c2c454c29a parsers: add D parser 2021-10-07 22:43:09 +02:00
Cezary Drożak
e87ed0fdaa feat: add "experimental" key to parsers
feat(ci): mark parsers as experimental in README
2021-10-07 22:43:09 +02:00
Andrew Helwer
6b82b26a74 Updated TLA+ grammar version and queries 2021-10-07 22:38:06 +02:00
oxalica
ecd9efd486 Update toml highlight queries 2021-10-04 12:41:26 +02:00
GitHub
fc1c31a393 Update lockfile.json 2021-10-03 21:26:37 +02:00
Benjamin Graham
6d504dd0f8 Query fix 2021-10-03 18:40:25 +02:00
Benjamin Graham
50fc1b6b35 Highlighting fixed 2021-10-03 18:40:25 +02:00
Benjamin Graham
6f2b1abd17 Added branch specification 2021-10-03 18:40:25 +02:00
Benjamin Graham
6188437150 LLVM parser/highlighter added 2021-10-03 18:40:25 +02:00
GitHub
70b1997cd7 Update lockfile.json 2021-10-03 11:23:47 +02:00
Stephan Seitz
98ada316c3 chore: use vim.ui.select for TSEditQuery if available 2021-10-03 11:17:40 +02:00
Stephan Seitz
44d4d07dbf chore: print compiler version in healthcheck 2021-10-03 11:06:57 +02:00
Vikas Raj
8ce13aa6f7 graphql: add commentstring 2021-10-03 11:02:34 +02:00
kiyan
3b533422df fix: remove priority in ecma template substitution hl
This PR removes the priority override for the interpolation because it
overrides every ecma based template literal, setting none with a higher
priority than ecma groups which made every template string look
`un`highlighted.
2021-10-03 11:01:30 +02:00
Stephen Bolton
e0e6d1b263
Add headers as an option to fold on (#1873)
* Add headers as an option to fold on

treesitter-beancount added grammar rules around orgmode and markdown
headers so that they are recognized in beancount documents. This change
makes it so that they will be taken into consideration when folding
text.

Commit: 79ae7c1f26

* Fix node name for headers

The correct name for the header nodes is heading.
2021-10-02 00:08:44 -05:00
Santos Gallegos
8cf90f81a4 Rust: highlight loop labels
Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1891
2021-10-01 22:33:49 +02:00
Stephan Seitz
f96298df94 Update README.md
Co-authored-by: Santos Gallegos <stsewd@protonmail.com>
2021-10-01 22:21:16 +02:00
Stephan Seitz
412752130d docs(install): explain how to use a proxy for download 2021-10-01 22:21:16 +02:00
Stephan Seitz
2a073f760c feat(install): add options prefer_git and command_extra_args
Fixes #1888
2021-10-01 22:21:16 +02:00
Santos Gallegos
f05f471185 Rust: fix some highlights
Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1856
2021-10-01 19:05:19 +02:00
Vikas Raj
2d1c26a89d highlight description as a comment 2021-10-01 18:30:34 +02:00
Thomas Vigouroux
b12ab1d851 fix(vim): support syntax command and update parser 2021-10-01 08:24:58 +02:00
igorlfs
6e25164004 Fix #1853 2021-09-30 19:36:29 +02:00
GitHub
e2747bb153 Update lockfile.json 2021-09-30 19:00:07 +02:00
GitHub
2e3f26b587 Update lockfile.json 2021-09-30 18:31:51 +02:00
Otto Modinos
99d4f72a5c feat(fennel): update parser and queries 2021-09-30 17:54:45 +02:00
Santos Gallegos
6714daf5ac
Vim: highlight setlocal (#1877)
This was just added some days ago.
2021-09-30 10:30:01 -05:00
GitHub
3a92d77b56 Update lockfile.json 2021-09-27 21:53:40 +02:00
Santos Gallegos
949ec04726 Vim: update highlights and injections 2021-09-27 21:13:13 +02:00
GitHub
ee213de0cd Update lockfile.json 2021-09-27 00:15:04 +02:00
John Drouhard
e643eb5dbd cpp: highlight template method identifier as a method 2021-09-27 00:09:17 +02:00
Sergio Alejandro Vargas
eb3a09cb28 highlights(rust): Add colon : to delimiters 2021-09-26 12:24:48 +02:00
Sergio Alejandro Vargas
5ebc74c1a8 highlights(rust): fix bang ! in macro_invocation 2021-09-26 12:24:48 +02:00
Sergio Alejandro Vargas
0cd64db48f highlights(rust): Fix angle brackets, and closures
Highlight angle brackets in type parameters and bars in closures bars as
`@punctuation.bracket` not as `@operator`.
2021-09-26 12:24:48 +02:00
GitHub
5d019b3391 Update lockfile.json 2021-09-26 12:24:04 +02:00
John Drouhard
536179c8e2 cpp: fix locals.scm from breaking change in tree-sitter-cpp 2021-09-26 11:20:09 +02:00
Stephan Seitz
d4b6bda44e Update cuda parsers 2021-09-26 11:20:09 +02:00
John Drouhard
662f3aaadd cpp: update lockfile.json and fix for breaking changes 2021-09-26 11:20:09 +02:00
Stephan Seitz
351eefd988 injections(teal): fix cdef injection 2021-09-25 00:59:40 +02:00
Github Actions
46858cfeea [docgen] Update README.md
skip-checks: true
2021-09-25 00:59:40 +02:00
Stephan Seitz
b7c95eef95 injections(lua): fix cdef injection
Fixes #1840
2021-09-25 00:59:40 +02:00
Santos Gallegos
e4c56e691a
Use vim-range style (1-index based) when possible (#1841)
https://github.com/nvim-treesitter/nvim-treesitter/pull/1829
half fixed incremental selection for the vim parser,
but other bugs still remain (infinite selection and skip selecting the
root node).

Problems can be replicated with these two files:

(missing selecting the root node)

```vim
set scrolloff=7
set scrolloff=7
```

(infinite loop)

```vim
set scrolloff=7
```

The main problem is that we try to map
the current selection range to a TS range,
but the TS range of a node could include the EOL/EOL marks
so it's impossible to know when to change the vim range
to match the TS range, is more easy to transform the
TS range to a vim range and do the comparison.
2021-09-24 17:46:44 -05:00
GitHub
6b3f908751 Update lockfile.json 2021-09-21 01:23:19 +02:00
GitHub
3a88c639f5 Update lockfile.json 2021-09-21 01:16:42 +02:00