aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
* Ocaml: fix parserSantos Gallegos2020-09-101-0/+1
| | | | Paths were changed https://github.com/tree-sitter/tree-sitter-ocaml/pull/41
* Fix #418: iterator function should always return an iteratorStephan Seitz2020-09-081-3/+3
| | | | Even if it's an empty iterator.
* feat(parsers): add filetype PKGBUILDStephan Seitz2020-09-081-1/+1
|
* Import treesitter.install only when neededSantos Gallegos2020-09-081-1/+5
|
* Improve startup performanceSantos Gallegos2020-09-081-2/+14
|
* Queries: merge query_extensions into base_language_mapSantos Gallegos2020-09-081-12/+2
| | | | These two are doing the same currently.
* fix using highlight query extension for every query typekyazdani422020-09-071-13/+7
|
* Incremental selection: fix skipping some nodesSantos Gallegos2020-09-071-25/+28
| | | | | | | | | | | | | 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
* Fold: respect max_fold_level from 'foldnestmax'Santos Gallegos2020-09-071-4/+11
|
* Text objects: check for query files firstSantos Gallegos2020-09-061-1/+1
| | | | The first function is faster and more common.
* Fixed table insertionRasmus Michelsen2020-09-061-1/+1
|
* Fixed win32 check hopefullyRasmus Michelsen2020-09-061-6/+6
|
* Added changesRasmus Michelsen2020-09-061-22/+12
|
* A few fixesRasmus Michelsen2020-09-061-2/+1
|
* Local variable fixRasmus Michelsen2020-09-061-1/+1
|
* Support TSInstall on Winddows with ClangRasmus Michelsen2020-09-061-42/+106
|
* Completion: use custom instead of customlistSantos Gallegos2020-09-053-9/+9
| | | | Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/396
* fix ts_available_modules should be using nvim_treesitter#available_moduleskiyan422020-09-051-2/+2
|
* Refactor: move completion functions to autoloadSantos Gallegos2020-09-043-21/+21
|
* preds: declare set! predicateThomas Vigouroux2020-09-031-0/+3
|
* Add warning about required Neovim versionStephan Seitz2020-09-031-0/+6
|
* add scanner file for fennel parserTravonteD2020-09-021-1/+1
|
* health: add fold queries to check healthThomas Vigouroux2020-09-011-1/+1
|
* docs(fold): document and commentThomas Vigouroux2020-09-011-0/+4
|
* fix(fold): fix #350Thomas Vigouroux2020-09-011-4/+10
| | | | | | | | | Also correctly handle things like : if (foo) { } if (bar) { }
* fix(fold): revamp foldThomas Vigouroux2020-09-011-13/+45
| | | | | | | | fix(fold): typo fix(fold): remove debug and add queries fix(fold): fallback to local scopes for folds
* use xmap in detachevakuator2020-09-011-1/+1
|
* use xmap instead of vmap in textobjectsevakuator2020-09-012-3/+3
|
* feat(refactor.navigation): allow a `fallback_function` for goto_definitionStephan Seitz2020-08-311-4/+10
| | | | | `fallback_function` is called when nvim-treesitter can not resolve the variable under the cursor.
* Fix(modules): simplify configs.setupStephan Seitz2020-08-311-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents a really weird bug were the following function call (after loading the activated modules) could activate `highlight_current_scope` ```lua require "nvim-treesitter.configs".setup( { highlight = { enable = false, -- false will disable the whole extension disable = {"html", "lua"} -- list of language that will be disabled }, refactor = { highlight_current_scope = { enable = false, inverse_highlighting = true, disable = {"python", "markdown"} }, highlight_definitions = { enable = true, disable = {"markdown"} }, }, ensure_installed = "all", disable = {"markdown"}, -- list of language that will be disabled } ) ```
* fix(highlight_current_scope): Ensure that detach is a inverse of attachStephan Seitz2020-08-311-2/+2
|
* Avoid enabling disabled modules (even if they were disabled immediately)Stephan Seitz2020-08-311-7/+8
| | | | | This might be safer for the case that attach/detach are not inverse to each other. Disabled modules shouldn't ever be activated.
* feat(refactor.navigation): add navigation.goto_{next,previous}_usageStephan Seitz2020-08-315-20/+53
|
* remove second checkOleg Matrokhin2020-08-301-2/+1
|
* fix get_package_path function for paths with trailing slashOleg Matrokhin2020-08-301-2/+2
|
* Add Windows support (mingw)Stephan Seitz2020-08-272-15/+20
|
* fix(health): only check installed parsersThomas Vigouroux2020-08-271-20/+7
| | | | | This is to avoid awfully long checkhealths. And not installed parsers can be infered from the fact that they are not listed.
* Fix #292: Add parser links to README.mdStephan Seitz2020-08-251-24/+51
|
* fix(locals): add nil guard for definition id creationSteven Sojka2020-08-251-1/+1
|
* Merge pull request #330 from steelsojka/fix-do-not-reattachSteven Sojka2020-08-2210-42/+76
|\ | | | | fix(modules): do not reattach if already attached
| * fix(modules): do not reattach if already attachedSteven Sojka2020-08-2210-42/+76
| |
* | fix(smart_rename): fix usages callSteven Sojka2020-08-211-1/+1
|/
* Merge pull request #305 from theHamsta/textobjects-submodulesSteven Sojka2020-08-1711-131/+457
|\ | | | | Textobjects submodules
| * chore(textobjects): split up into submodulesStephan Seitz2020-08-177-282/+362
| |
| * Textobjects: set jump before going to adjacent_textobjectStephan Seitz2020-08-174-88/+88
| |
| * Textobject goto: treat end differently that startStephan Seitz2020-08-171-13/+12
| |
| * Textobjects: Allow nested textobjects on goto_adjacentStephan Seitz2020-08-171-24/+36
| |
| * chore(textobject): use query.find_best_match to find next/previous textobjectStephan Seitz2020-08-172-40/+60
| |
| * Textobjects: provide mappings for all swap/goto functionsStephan Seitz2020-08-172-52/+66
| |
| * Textobjects: Add goto_adjacentStephan Seitz2020-08-171-0/+34
| |