summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-09-14Fix #307: Use and document TSVariable/TSVariableBuiltin in all languagesStephan Seitz
2020-09-14Folds: rename query files to folds.scm to be consistentSantos Gallegos
We use plural names for all query files except folds.
2020-09-14Fix typo in foldexpr exampleSh3Rm4n
2020-09-14Merge pull request #452 from kyazdani42/jsx-foldsSteven Sojka
Jsx fold
2020-09-13Bash: fix hl capture groupsSantos Gallegos
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/387
2020-09-13fix(cpp highlights): Use `@include` for preproc_include (fix #445)Stephan Seitz
2020-09-12fix ocaml highlightsPau Ruiz Safont
Function matching was wrongly parenthesized, parameter detection was too eager and it was wrongly matching all + and - as delimiters
2020-09-12add jsx fold on jsx_element onlykyazdani42
2020-09-12Update PHP queryShirasaka
2020-09-12TextObjects: refactor wrong func namesSantos Gallegos
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
2020-09-12- Fix TSType and TSPunctuationSpecialTravonteD
Move class and module names to @type to be consistent with the other languages. (fixes #448) Use @punction.special for interpolation brackets. (fixes #449)
2020-09-11Highlight definition: mention updatetime in docsSantos Gallegos
Ref https://github.com/nvim-treesitter/nvim-treesitter/issues/435
2020-09-11Yield meaningful error messages in iter_cmd{,_sync} when cmd.err == nilStephan Seitz
2020-09-11maintenance(ocaml): adapt queries to nvim-treesitterPau Ruiz Safont
2020-09-11feat(queries): pull ocaml queries from upstreamPau Ruiz Safont
2020-09-11ci: fix wrong queriesThomas Vigouroux
2020-09-11ci: check capture names in queriesThomas Vigouroux
2020-09-11Show up logoSantos Gallegos
Too good to be hidden
2020-09-11Allow to call setup on already loaded modules.Santos Gallegos
2020-09-10Improve startuptimeSantos Gallegos
- Don't load everything at startup - Don't define an autocomand for each module and for each supported lang (this creates nxm autocomand!)
2020-09-10Merge pull request #421 from steelsojka/add-missing-js-opsSteven Sojka
fix(highlights): add missing js operators
2020-09-10fix(highlights): add missing js operatorsSteven Sojka
2020-09-10Find package path based on the Lua source fileMarkus Koller
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`.
2020-09-10Add folding for local functions in luaNolan Prochnau
2020-09-10Ocaml: fix parserSantos Gallegos
Paths were changed https://github.com/tree-sitter/tree-sitter-ocaml/pull/41
2020-09-08feat(C++ highlights): highlight operator_name as functionStephan Seitz
2020-09-08C/C++ locals: Deduplicate C++ locals contained in CStephan Seitz
2020-09-08Add C++ folds and C comment/preproc foldsStephan Seitz
2020-09-08Fix #418: iterator function should always return an iteratorStephan Seitz
Even if it's an empty iterator.
2020-09-08feat(parsers): add filetype PKGBUILDStephan Seitz
2020-09-08Import treesitter.install only when neededSantos Gallegos
2020-09-08Improve startup performanceSantos Gallegos
2020-09-08use keyword.function instead of functionkyazdani42
2020-09-08fix function/end keywords not applied for every scopekyazdani42
2020-09-08Queries: merge query_extensions into base_language_mapSantos Gallegos
These two are doing the same currently.
2020-09-08Fold: update docsSantos Gallegos
Document foldnestmax.
2020-09-07fix using highlight query extension for every query typekyazdani42
2020-09-07Incremental selection: fix skipping some nodesSantos Gallegos
The range from ts nodes are a little different than neovim's nodes. They start at 0 and the end is exclusive. For example, a nvim range (1, 3, 2, 4) is the equivalent to the ts range (0, 2, 1, 4). Since we may hit parent nodes that have the same range as its child, we skip those till we find one that actually changes the selection (since this is the relevant part for the user). Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/232
2020-09-07Fold: respect max_fold_level from 'foldnestmax'Santos Gallegos
2020-09-07go locals: remove unused strip! directiveStephan Seitz
2020-09-06rst: remove unused capturesSantos Gallegos
This is causing an error.
2020-09-06fix: ocaml highlightPau Ruiz Safont
The string.special group was removed from highlight.lua, replace its uses by the string group.
2020-09-06fix: contional > conditional in lua hl.scmkyazdani42
2020-09-06fix bash highlightkyazdani42
2020-09-06Lua: update highlightsSantos Gallegos
2020-09-06Lua: fix loop and conditional keywords highlightsSantos Gallegos
2020-09-06feat(folds): add ts and js foldsSteven Sojka
2020-09-06change @meta to @type for derive directives because @meta is not definedkiyan42
2020-09-06fix(highlights): fix ts parameter highlightsSteven Sojka
2020-09-06Highlights: default TSError to NormalSantos Gallegos
This provides a better experience for users without any extra config.