aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ocaml: follow upstream for highlightsPau Ruiz Safont2020-09-191-5/+7
|
* feat: add parser for ocaml interface filesPau Ruiz Safont2020-09-192-0/+11
| | | | | | The files have the mli extension. The parser grammar uses the name ocaml_interface, but since vim the underscore has a special meaning ocamlinterface is used as the filetype.
* Bash: update highlightsSantos Gallegos2020-09-191-7/+10
| | | | | | | | | Following some of our conventions and some bits from atom https://github.com/atom/language-shellscript/blob/master/grammars/tree-sitter-bash.cson: - Uppercase var are constants - `$` is a special symbol, not part of the name - Builtin constants and functions
* Add @keyword.operator for operators that are English words and add ↵Stephan Seitz2020-09-1910-27/+75
| | | | @exception for Java/JS
* Link to gallerySantos Gallegos2020-09-181-0/+1
|
* Update FAQSantos Gallegos2020-09-191-0/+4
| | | | | Add an entry for https://github.com/nvim-treesitter/nvim-treesitter/issues/340.
* Ensure that updated files are replaced w/o warningRasmus Michelsen2020-09-181-1/+1
|
* Re-add attribute highlightAkin Sowemimo2020-09-183-2/+4
|
* Add case builtinAkin Sowemimo2020-09-181-6/+6
| | | | | | Based on accepted PR to unhide this node Also show Function as a type correctly and use existing annotation highlight for annotations
* RST: update queriesSantos Gallegos2020-09-183-4/+30
| | | | Some nodes were renamed and added more textobjects.
* use TSnone instead of linking to Normalkyazdani422020-09-181-5/+5
|
* link highlight groups for TSTag and TSTagDelimiterTravonteD2020-09-181-0/+3
|
* Add TSTag and TSTagDelimiter groupsTravonteD2020-09-183-2/+15
| | | | | These groups will be added for use with xml-like tags such as html and jsx.
* move the generic "constant" capture to the topTravonteD2020-09-181-4/+4
|
* Make :TSInstall work in Nix by adding a second module installation target (#473)Florian Beeres2020-09-183-13/+79
| | | | | | | | | | | | | | | | | | | | * Ignore tags file in project root * Make :TSInstall work with Nix This commit adds logic to determine where to install parsers, meaning the *.so files. Until now the package path of the nvim-treesitter plugin was used. But when installed with Nix, the plugin lands in "/nix/store", which is read-only. With this commit $XDG_DATA_HOME/nvim/site/parser/*.go will be used as the parser installation path. The directory will be created if it doesn't exist. * Add generate_join function The generate_join function is used to create two other functions, one to join path segments, the other to join strings with a space for error messages.
* Update CONTRIBUTING.mdSantos Gallegos2020-09-171-1/+1
| | | Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
* Update contributingSantos Gallegos2020-09-171-4/+38
|
* Remove @definition.doc capturesSantos Gallegos2020-09-173-12/+2
| | | | | | These aren't really definitions and are being show in the definitions list. We aren't using them at the moment, we could use another group or query file.
* update require statements to use TSIncludeTravonteD2020-09-161-2/+2
|
* fix(folds): has_fold -> has_foldsStephan Seitz2020-09-161-1/+1
|
* RST: update localsSantos Gallegos2020-09-151-0/+2
| | | | A title is an implicit target.
* reset python interpolation nodekiyan422020-09-151-1/+1
|
* add @none to contributing.mdkiyan422020-09-151-1/+2
|
* add TSNonekiyan422020-09-153-0/+6
|
* do not highlight as normal to prevent background to override CursorLinekiyan422020-09-151-2/+0
|
* Merge pull request #467 from stsewd/patch-1Santos Gallegos2020-09-141-0/+0
|\ | | | | Rename jsx/fold.scm -> folds.scm
| * Rename jsx/fold.scm -> folds.scmSantos Gallegos2020-09-141-0/+0
|/ | | This was merged before https://github.com/nvim-treesitter/nvim-treesitter/pull/461
* Fix #307: Use and document TSVariable/TSVariableBuiltin in all languagesStephan Seitz2020-09-1410-8/+39
|
* Folds: rename query files to folds.scm to be consistentSantos Gallegos2020-09-1410-3/+3
| | | | We use plural names for all query files except folds.
* Fix typo in foldexpr exampleSh3Rm4n2020-09-141-1/+1
|
* Merge pull request #452 from kyazdani42/jsx-foldsSteven Sojka2020-09-141-0/+1
|\ | | | | Jsx fold
| * add jsx fold on jsx_element onlykyazdani422020-09-121-0/+1
| |
* | Bash: fix hl capture groupsSantos Gallegos2020-09-131-4/+6
| | | | | | | | Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/387
* | fix(cpp highlights): Use `@include` for preproc_include (fix #445)Stephan Seitz2020-09-131-1/+2
| |
* | fix ocaml highlightsPau Ruiz Safont2020-09-121-3/+7
| | | | | | | | | | Function matching was wrongly parenthesized, parameter detection was too eager and it was wrongly matching all + and - as delimiters
* | Update PHP queryShirasaka2020-09-122-18/+59
|/
* TextObjects: refactor wrong func namesSantos Gallegos2020-09-121-6/+6
| | | | | | Reading the code, these functions should be named differently https://github.com/nvim-treesitter/nvim-treesitter/blob/a755017dd52947672af458743b88e59a59cd592f/lua/nvim-treesitter/query.lua#L203-L203
* - Fix TSType and TSPunctuationSpecialTravonteD2020-09-121-3/+4
| | | | | | | Move class and module names to @type to be consistent with the other languages. (fixes #448) Use @punction.special for interpolation brackets. (fixes #449)
* Highlight definition: mention updatetime in docsSantos Gallegos2020-09-111-0/+3
| | | | Ref https://github.com/nvim-treesitter/nvim-treesitter/issues/435
* Yield meaningful error messages in iter_cmd{,_sync} when cmd.err == nilStephan Seitz2020-09-111-2/+4
|
* maintenance(ocaml): adapt queries to nvim-treesitterPau Ruiz Safont2020-09-113-127/+33
|
* feat(queries): pull ocaml queries from upstreamPau Ruiz Safont2020-09-113-117/+244
|
* ci: fix wrong queriesThomas Vigouroux2020-09-1110-23/+22
|
* ci: check capture names in queriesThomas Vigouroux2020-09-112-25/+70
|
* Show up logoSantos Gallegos2020-09-113-7/+30
| | | | Too good to be hidden
* Allow to call setup on already loaded modules.Santos Gallegos2020-09-111-1/+1
|
* Improve startuptimeSantos Gallegos2020-09-102-83/+57
| | | | | | - Don't load everything at startup - Don't define an autocomand for each module and for each supported lang (this creates nxm autocomand!)
* Merge pull request #421 from steelsojka/add-missing-js-opsSteven Sojka2020-09-101-17/+30
|\ | | | | fix(highlights): add missing js operators
| * fix(highlights): add missing js operatorsSteven Sojka2020-09-101-17/+30
| |
* | Find package path based on the Lua source fileMarkus Koller2020-09-102-15/+6
| | | | | | | | | | | | This is more robust compared to the previous method where we walked up the tree and matched on the directory name, which also required that the repository was cloned in a directory named `nvim-treesitter`.