summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-12Python: highlight semicolonSantos Gallegos
2021-11-12fix: use more specific identifier checkŁukasz Niemier
2021-11-12fix: make comment doc highlighting work for any doc tagŁukasz Niemier
2021-11-12fix: Elixir non-doc sigils will no longer be flickeringŁukasz Niemier
It also adds support for colouring documentation metadata attributes (ex. `@doc foo: :bar`).
2021-11-12Update lockfile.jsonGitHub
2021-11-12r: add new operatoraspeddro
2021-11-11Update lockfile.jsonGitHub
2021-11-11Ensure `ft_to_lang` supports multipart filetypes.Robert Jackson
This allows a given parser to directly implement a multipart filetype (like `glimmer` parser does for `html.handlebars`). If an exact match for the current filetype is found in the lookup table, it will be used; otherwise we look for just the first segment.
2021-11-11Add `html.handlebars` as a valid type for the glimmer parser.Robert Jackson
This filetype is in common use due to https://github.com/mustache/vim-mustache-handlebars/blob/master/ftdetect/handlebars.vim#L2
2021-11-11Add Operators for RubyCameron
Many operators were missing from ruby, so, I added them. Additionally, with string interpolation (`"#{xxx}"`), the closing `}` was being matched to `punctuation.bracket` instead of `punctuation.special`, so I fixed that too. I didn't see any further details about how to contribute, so if I've overlooked anything, I'll be happy to add it.
2021-11-11fix(vue.indents): add support for template_elementCyril Mizzi
2021-11-11fix: define indents.scm for html_tags and inherits html and vue from this fileCyril Mizzi
2021-11-11feat(vue): add indents.scm fileCyril Mizzi
There's no indentation file for Vue. This implementation is based on the HTML indentation file with a minor support for the `template_element` tag. As JS is bind with the JS Tree-sitter, the indentation is already fine.
2021-11-08Update lockfile.jsonGitHub
2021-11-08docs: make comment more specificSirisak Lueangsaksri
2021-11-08refactor: nitpickingSirisak Lueangsaksri
2021-11-08feat: sync install for `ensure_installed`Sirisak Lueangsaksri
2021-11-05docs: move description to the first lineDundar Göc
This will make the description of nvim-treesitter show up in the LOCAL ADDITIONS section of the help text. So this |nvim-treesitter| instead becomes |nvim-treesitter| Treesitter configurations and abstraction layer for Neovim.
2021-11-04Update lockfile.jsonGitHub
2021-11-04fix(teal): highlighting for typesLewis Russell
2021-11-03Update lockfile.jsonGitHub
2021-11-02chore: fix typosDundar Göc
2021-11-02Add `ftdetect` setup for `glimmer` parser. (#1973)Robert Jackson
Without this, `*.hbs` files are not highlighted (unless you have some other plugin that adds it for you).
2021-11-02feat(svelte): inject JS on `each` expression (#1969)elianiva
2021-11-01Update queries/python/highlights.scmSantos Gallegos
2021-11-01Revert "feat: add `del` keyword for highlights"Santos Gallegos
This reverts commit 385193d41fe6b74fe0e3698588ae54545d1cd88b.
2021-11-01Update lockfile.jsonGitHub
2021-11-01Fix typo in locals.lua: vaild -> validStephan Seitz
2021-11-01Fix bugs in TSRangeStephan Seitz
- TSRange:new() was missing to extract the line from nvim_buf_get_lines - TSRange:parent() was only working when current buf == self.buf
2021-11-01Update lockfile.jsonGitHub
2021-11-01feat: add `del` keyword for highlightsAshish Panigrahi
2021-10-31D: fix duplicate `@namespace` captureSantos Gallegos
The previous query was highlighting everything inside that node, but we only want to highlight the identifiers. Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1930/files#r735105675
2021-10-30Rust: highlight uppercase identifiers in match arms as constant (#1940)Santos Gallegos
* Rust: highlight uppercase identifiers in match arms as constant Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1928 * Highlight builtins
2021-10-30Add fennel ftdetect file (#1952)Yuri Pieters
2021-10-26yaml: improve highlights and locals (#946)Santos Gallegos
- More scopes - Highlight strings as strings - Recognize more keys/fields Improvements can be seen with this weird yaml: ```yaml { foo: bar } --- {a: [b, c], [d, e]: f} --- - { single line, a: b} - { multi line, a: b} --- "fooo": bar 'foo': bar one: two ```
2021-10-23Update lockfile.jsonGitHub
2021-10-22Use wrapper around vim.notify with common optionsSantos Gallegos
Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1927#issuecomment-947064843
2021-10-22Elixir: fix a few highlights, add ExUnit support to locals (#1933)Clay
* Fix "not in" and sigil highlights * Add ExUnit test case to locals * Update README to mention new Elixir parser
2021-10-22Update parsers with C# fixes (#1910)Stephan Seitz
* highlights(c_sharp): fix queries for parser update * Update c_sharp parser * Fix generic method
2021-10-22Python: highlight interpolation escaped charsSantos Gallegos
Support for these was just added in the grammar.
2021-10-21Update lockfile.jsonGitHub
2021-10-21Add zig as compiler for parsermaxxnino
2021-10-21Highlight zig add missing AssignOpmaxxnino
2021-10-21[docgen] Update README.mdGithub Actions
skip-checks: true
2021-10-21ci: use nvim v0.5.1 on CIStephan Seitz
2021-10-21ci: upload artifacts before checkStephan Seitz
This could provide better possibilities to investigate a failed CI.
2021-10-20fix(d): don't use string_literalsCezary Drożak
string_literals is not used in single argument template instances. The nodes are from [1]. [1]: https://github.com/CyberShadow/tree-sitter-d/blob/c2fbf21bd3aa45495fe13247e040ad5815250032/grammar.js#L536
2021-10-20[docgen] Update README.mdGithub Actions
skip-checks: true
2021-10-20highlights(cpp): highlight literal_suffix as `@operator`Stephan Seitz
2021-10-19Use vim.notify instead of print in some places (#1927)Santos Gallegos