summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2020-09-03preds: declare set! predicateThomas Vigouroux
2020-09-03Add warning about required Neovim versionStephan Seitz
2020-09-02add scanner file for fennel parserTravonteD
2020-09-01health: add fold queries to check healthThomas Vigouroux
2020-09-01docs(fold): document and commentThomas Vigouroux
2020-09-01fix(fold): fix #350Thomas Vigouroux
Also correctly handle things like : if (foo) { } if (bar) { }
2020-09-01fix(fold): revamp foldThomas Vigouroux
fix(fold): typo fix(fold): remove debug and add queries fix(fold): fallback to local scopes for folds
2020-09-01use xmap in detachevakuator
2020-09-01use xmap instead of vmap in textobjectsevakuator
2020-08-31feat(refactor.navigation): allow a `fallback_function` for goto_definitionStephan Seitz
`fallback_function` is called when nvim-treesitter can not resolve the variable under the cursor.
2020-08-31Fix(modules): simplify configs.setupStephan Seitz
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 } ) ```
2020-08-31fix(highlight_current_scope): Ensure that detach is a inverse of attachStephan Seitz
2020-08-31Avoid enabling disabled modules (even if they were disabled immediately)Stephan Seitz
This might be safer for the case that attach/detach are not inverse to each other. Disabled modules shouldn't ever be activated.
2020-08-31feat(refactor.navigation): add navigation.goto_{next,previous}_usageStephan Seitz
2020-08-30remove second checkOleg Matrokhin
2020-08-30fix get_package_path function for paths with trailing slashOleg Matrokhin
2020-08-27Add Windows support (mingw)Stephan Seitz
2020-08-27fix(health): only check installed parsersThomas Vigouroux
This is to avoid awfully long checkhealths. And not installed parsers can be infered from the fact that they are not listed.
2020-08-25Fix #292: Add parser links to README.mdStephan Seitz
2020-08-25fix(locals): add nil guard for definition id creationSteven Sojka
2020-08-22Merge pull request #330 from steelsojka/fix-do-not-reattachSteven Sojka
fix(modules): do not reattach if already attached
2020-08-22fix(modules): do not reattach if already attachedSteven Sojka
2020-08-21fix(smart_rename): fix usages callSteven Sojka
2020-08-17Merge pull request #305 from theHamsta/textobjects-submodulesSteven Sojka
Textobjects submodules
2020-08-17some refacto, doc fixes and jsx querieskiyan42
- 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
2020-08-17chore(textobjects): split up into submodulesStephan Seitz
2020-08-17Textobjects: set jump before going to adjacent_textobjectStephan Seitz
2020-08-17Textobject goto: treat end differently that startStephan Seitz
2020-08-17Textobjects: Allow nested textobjects on goto_adjacentStephan Seitz
2020-08-17chore(textobject): use query.find_best_match to find next/previous textobjectStephan Seitz
2020-08-17Textobjects: provide mappings for all swap/goto functionsStephan Seitz
2020-08-17Textobjects: Add goto_adjacentStephan Seitz
2020-08-17Textobjects: add swap featureStephan Seitz
2020-08-16Add fennel supportTravonteD
2020-08-16Merge pull request #296 from steelsojka/feat-is-predicateSteven Sojka
feat(highlights): add is predicate
2020-08-16Merge pull request #295 from steelsojka/feature/set-scopes-for-definitionsSteven Sojka
feat(defintions): allow setting of scope
2020-08-16feat(definitions): allow setting of scopeSteven Sojka
2020-08-16feat(highlights): add is predicateSteven Sojka
2020-08-15fix: check 'after' against third directoryRafaƂ Camlet
2020-08-15Merge pull request #291 from vigoux/post-upstream-workSteven Sojka
fix: refactor after upstream refactor
2020-08-14feat: intuitive runtime queriesThomas Vigouroux
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.
2020-08-14fix: refactor after upstream refactorThomas Vigouroux
2020-08-13fix(definitions): optimize and fix definition highlightingSteven Sojka
2020-08-11perf: cache parser file list for performanceThomas Vigouroux
2020-08-11pass full module path in recurse accumulator to enable/disable sub modulesLaxman Sooriyathas
2020-08-11fix(locals): fix find definition implementation (#274)Steven Sojka
Co-authored-by: Thomas Vigouroux <39092278+vigoux@users.noreply.github.com>
2020-08-11fix(queries): don't load queries on startupSteven Sojka
2020-08-10configs: actually enable and disable on setupThomas Vigouroux
2020-08-10fix(highlight): Use TSParameterThomas Vigouroux
2020-08-09Change capture groups and add variable highlightsAkin Sowemimo