aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
| * Textobjects: add swap featureStephan Seitz2020-08-173-12/+179
| |
* | some refacto, doc fixes and jsx querieskiyan422020-08-172-5/+7
|/ | | | | | | | | | - compute query language extensions *after* default ones (jsx after javascript) - remove outdated ts_utils functions from docs - add better regex detection to javascript - javascriptreact to use javascript queries - add javascript.jsx to javascript queries - write jsx.scm hl file
* Add fennel supportTravonteD2020-08-161-0/+7
|
* Merge pull request #296 from steelsojka/feat-is-predicateSteven Sojka2020-08-163-5/+37
|\ | | | | feat(highlights): add is predicate
| * feat(highlights): add is predicateSteven Sojka2020-08-163-5/+37
| |
* | Merge pull request #295 from steelsojka/feature/set-scopes-for-definitionsSteven Sojka2020-08-161-3/+39
|\ \ | | | | | | feat(defintions): allow setting of scope
| * | feat(definitions): allow setting of scopeSteven Sojka2020-08-161-3/+39
| | |
* | | fix: check 'after' against third directoryRafaƂ Camlet2020-08-151-1/+1
| |/ |/|
* | Merge pull request #291 from vigoux/post-upstream-workSteven Sojka2020-08-153-105/+19
|\ \ | |/ |/| fix: refactor after upstream refactor
| * fix: refactor after upstream refactorThomas Vigouroux2020-08-143-105/+19
| |
* | feat: intuitive runtime queriesThomas Vigouroux2020-08-141-3/+26
|/ | | | | | | | | | | | | | Starting now, runtime queries will be sourced in this order : - Queries that are not in any `after` folder, will serve as a base, with each occurence overwriting the others (that is, .config/nvim/queries has the highest priority) - Queries within the `after` directory will be sourced one after the other. The rationale is that this reminds all the `.vim` files (ftplugin) for example, and this allows both to experiment and to override queries easily.
* fix(definitions): optimize and fix definition highlightingSteven Sojka2020-08-134-44/+109
|
* perf: cache parser file list for performanceThomas Vigouroux2020-08-112-1/+17
|
* pass full module path in recurse accumulator to enable/disable sub modulesLaxman Sooriyathas2020-08-111-3/+3
|
* fix(locals): fix find definition implementation (#274)Steven Sojka2020-08-112-29/+54
| | | Co-authored-by: Thomas Vigouroux <39092278+vigoux@users.noreply.github.com>
* fix(queries): don't load queries on startupSteven Sojka2020-08-111-21/+27
|
* configs: actually enable and disable on setupThomas Vigouroux2020-08-101-0/+10
|
* fix(highlight): Use TSParameterThomas Vigouroux2020-08-101-1/+1
|
* Change capture groups and add variable highlightsAkin Sowemimo2020-08-091-0/+4
|