summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2021-09-24Use vim-range style (1-index based) when possible (#1841)Santos Gallegos
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-21Swapping to the correct repoLucas Crownover
2021-09-21Adding perl parserLucas Crownover
2021-09-19Fix incremental selection for nodes that include EOLSantos Gallegos
From `:h setpos()` > If "col" is smaller than 1 then 1 is used. This can be tested with incremental selection on a vim file. ```vim set title ```
2021-09-19Support hjsonkghugo
2021-09-17parsers: add glsl parserStephan Seitz
2021-09-15New kotlin parserJoakker
2021-09-14chore: fix formatting in parsers.luaStephan Seitz
2021-09-14fix(lang): only use first part in multi-langThomas Vigouroux
2021-09-10fix(fennel): update parser and all the queriesOtto Modinos
2021-09-01Add tree-sitter-dot (#1770)rydesun
* Add tree-sitter-dot * Fix DOT highlights * highlights(DOT): add HTML string * Remove DOT ftdetect Vim and Neovim runtime have added DOT filetype detection * Update DOT highlights
2021-08-29Add tree-sitter-pioasm with highlights and injections (#1759)leo60228
* add tree-sitter-pioasm with highlights and injections * [docgen] Update README.md skip-checks: true * remove ada injection from pioasm * address review * remove unnecessary python predicate Co-authored-by: Github Actions <actions@github>
2021-08-25Add support for json5Joakker
2021-08-25Replaces curl argument: --no-progress-meter -> --silentEduardo Cuducos
Fix #1748
2021-08-24fix(dowload): don't display curl progressThomas Vigouroux
Fixes #1731
2021-08-22Query: allow to pass a list to get_capture_matches (#1693)Santos Gallegos
2021-08-20Fixed lua style issues, updated grammar version to fix macOS build issuesAndrew Helwer
2021-08-20Filetype is tlaAndrew Helwer
2021-08-20Added TLA+ grammar & queriesAndrew Helwer
2021-08-20Add jsx to javascript (#1696)Santos Gallegos
This is mainly so the playground doesn't error when opening the jsx query files.
2021-08-18Add HEEx language support, add missing commentstringsClay
2021-08-16feat: add support for vimThomas Vigouroux
2021-08-11Update new query and parser for zigmaxxnino
2021-08-08CI: fix update lockfile jobSantos Gallegos
Ref https://github.com/nvim-treesitter/nvim-treesitter/pull/1661#issuecomment-894722369
2021-08-07feat: allow 'revision' override in parser config (#1661)Munif Tanjim
2021-08-03fix: query_predicate - nthMunif Tanjim
2021-08-01Feature: Add Surface language and integrate with Elixir (#1645)Connor Lay (Clay)
* Add initial surface highlights & injections * Additional surface highlights * Filetype detection, fix injections * Fix Elixir function highlight when left is an identifier * Add surface parser * Fix comment highlights * Surface folds, indents, better highlights * Highlight surface components & directives * Restore comments Elixir injections
2021-07-29feature: make godotResource compatible with gdresource filetypePierre Poupin
2021-07-29feature: add godotResource queriesPierre Poupin
2021-07-21recurse_local_nodes: type check local_def to ensure it is a table (#1331)mads kjeldgaard
2021-07-20fix: make additional_vim_regex_highlighting actually accept a listSimon Hauser
2021-07-19"-z" needs to come before "-f".Laurence Tratt
2021-07-19Add `-z` switch to tar.Laurence Tratt
Some versions of tar automatically infer `-z` if a `.gz` (or other compressed extension) file is passed -- but some, including OpenBSD's, don't do this and require an explicit `-z`. As far as I know, any version of tar which automatically unzips files supports `-z` so this should be a backwards compatible change for most versions of tar.
2021-07-19Update transferred fish repo info26797767+krnik
2021-07-19Add YANG parserTomas Sandven
2021-07-18Folds: remove ending marks for folds; they only confuse vim when multiple ↵Andrew He
closes on the same line are expected
2021-07-18Re-attach module when the file type is changedSantos Gallegos
Requires https://github.com/neovim/neovim/pull/14995 Closes https://github.com/nvim-treesitter/nvim-treesitter/issues/1249
2021-07-14add @tag.attribute for html like attributeslmlorca
2021-07-11Highlights: define string.special (#1551)Santos Gallegos
* Highlights: define string.special This was in our CONTRIBUTING.md file, but wasn't defined. Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1405 * Use string.escape
2021-07-11New stylua version (#1555)Stephan Seitz
2021-07-09downcase predicate: nil protectionSantos Gallegos
get_node_text could be nil if the range is invalid. With https://github.com/neovim/neovim/pull/15030/ this fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1531
2021-07-08Folds: support 'foldminlines'Munif Tanjim
2021-07-07remove packer and nomad from hcl.used_by (#1527)Michael Hoffmann
2021-07-06Folds: fix fold deduplication and improve start/stop logicAndrew He
2021-07-06parsers: Teal now requires generate from grammarStephan Seitz
2021-07-05Update used_by for parent parsersSantos Gallegos
html_tags and ecma don't have a parser of they own, but that's actually just to get around to inherit common queries. When editing these "base" queries, the playground breaks. Having them in used_by would fix this.
2021-07-05Checkhealth: include injectionsSantos Gallegos
Fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1459
2021-07-04Use stylua for autoformat code (#1480)Santos Gallegos
2021-07-04feat(keywords) merge return and yield into keyword.return groupantonk52
2021-07-04feat(keywords) add keyword.return & keyword.yieldantonk52