| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add @keyword.operator for operators that are English words and add ↵ | Stephan Seitz | 2020-09-19 | 1 | -1/+2 |
| | | | | | @exception for Java/JS | ||||
| * | Ensure that updated files are replaced w/o warning | Rasmus Michelsen | 2020-09-18 | 1 | -1/+1 |
| | | |||||
| * | Re-add attribute highlight | Akin Sowemimo | 2020-09-18 | 1 | -0/+1 |
| | | |||||
| * | Add TSTag and TSTagDelimiter groups | TravonteD | 2020-09-18 | 1 | -0/+4 |
| | | | | | | These groups will be added for use with xml-like tags such as html and jsx. | ||||
| * | Make :TSInstall work in Nix by adding a second module installation target (#473) | Florian Beeres | 2020-09-18 | 2 | -13/+78 |
| | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
| * | fix(folds): has_fold -> has_folds | Stephan Seitz | 2020-09-16 | 1 | -1/+1 |
| | | |||||
| * | add TSNone | kiyan42 | 2020-09-15 | 1 | -0/+2 |
| | | |||||
| * | Folds: rename query files to folds.scm to be consistent | Santos Gallegos | 2020-09-14 | 2 | -2/+2 |
| | | | | | We use plural names for all query files except folds. | ||||
| * | TextObjects: refactor wrong func names | Santos Gallegos | 2020-09-12 | 1 | -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 | ||||
| * | Yield meaningful error messages in iter_cmd{,_sync} when cmd.err == nil | Stephan Seitz | 2020-09-11 | 1 | -2/+4 |
| | | |||||
| * | Allow to call setup on already loaded modules. | Santos Gallegos | 2020-09-11 | 1 | -1/+1 |
| | | |||||
| * | Improve startuptime | Santos Gallegos | 2020-09-10 | 2 | -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!) | ||||
| * | Find package path based on the Lua source file | Markus Koller | 2020-09-10 | 2 | -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`. | ||||
| * | Ocaml: fix parser | Santos Gallegos | 2020-09-10 | 1 | -0/+1 |
| | | | | | Paths were changed https://github.com/tree-sitter/tree-sitter-ocaml/pull/41 | ||||
| * | Fix #418: iterator function should always return an iterator | Stephan Seitz | 2020-09-08 | 1 | -3/+3 |
| | | | | | Even if it's an empty iterator. | ||||
| * | feat(parsers): add filetype PKGBUILD | Stephan Seitz | 2020-09-08 | 1 | -1/+1 |
| | | |||||
| * | Import treesitter.install only when needed | Santos Gallegos | 2020-09-08 | 1 | -1/+5 |
| | | |||||
| * | Improve startup performance | Santos Gallegos | 2020-09-08 | 1 | -2/+14 |
| | | |||||
| * | Queries: merge query_extensions into base_language_map | Santos Gallegos | 2020-09-08 | 1 | -12/+2 |
| | | | | | These two are doing the same currently. | ||||
| * | fix using highlight query extension for every query type | kyazdani42 | 2020-09-07 | 1 | -13/+7 |
| | | |||||
| * | Incremental selection: fix skipping some nodes | Santos Gallegos | 2020-09-07 | 1 | -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 Gallegos | 2020-09-07 | 1 | -4/+11 |
| | | |||||
| * | Text objects: check for query files first | Santos Gallegos | 2020-09-06 | 1 | -1/+1 |
| | | | | | The first function is faster and more common. | ||||
| * | Fixed table insertion | Rasmus Michelsen | 2020-09-06 | 1 | -1/+1 |
| | | |||||
| * | Fixed win32 check hopefully | Rasmus Michelsen | 2020-09-06 | 1 | -6/+6 |
| | | |||||
| * | Added changes | Rasmus Michelsen | 2020-09-06 | 1 | -22/+12 |
| | | |||||
| * | A few fixes | Rasmus Michelsen | 2020-09-06 | 1 | -2/+1 |
| | | |||||
| * | Local variable fix | Rasmus Michelsen | 2020-09-06 | 1 | -1/+1 |
| | | |||||
| * | Support TSInstall on Winddows with Clang | Rasmus Michelsen | 2020-09-06 | 1 | -42/+106 |
| | | |||||
| * | Completion: use custom instead of customlist | Santos Gallegos | 2020-09-05 | 3 | -9/+9 |
| | | | | | Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/396 | ||||
| * | fix ts_available_modules should be using nvim_treesitter#available_modules | kiyan42 | 2020-09-05 | 1 | -2/+2 |
| | | |||||
| * | Refactor: move completion functions to autoload | Santos Gallegos | 2020-09-04 | 3 | -21/+21 |
| | | |||||
| * | preds: declare set! predicate | Thomas Vigouroux | 2020-09-03 | 1 | -0/+3 |
| | | |||||
| * | Add warning about required Neovim version | Stephan Seitz | 2020-09-03 | 1 | -0/+6 |
| | | |||||
| * | add scanner file for fennel parser | TravonteD | 2020-09-02 | 1 | -1/+1 |
| | | |||||
| * | health: add fold queries to check health | Thomas Vigouroux | 2020-09-01 | 1 | -1/+1 |
| | | |||||
| * | docs(fold): document and comment | Thomas Vigouroux | 2020-09-01 | 1 | -0/+4 |
| | | |||||
| * | fix(fold): fix #350 | Thomas Vigouroux | 2020-09-01 | 1 | -4/+10 |
| | | | | | | | | | | Also correctly handle things like : if (foo) { } if (bar) { } | ||||
| * | fix(fold): revamp fold | Thomas Vigouroux | 2020-09-01 | 1 | -13/+45 |
| | | | | | | | | | fix(fold): typo fix(fold): remove debug and add queries fix(fold): fallback to local scopes for folds | ||||
| * | use xmap in detach | evakuator | 2020-09-01 | 1 | -1/+1 |
| | | |||||
| * | use xmap instead of vmap in textobjects | evakuator | 2020-09-01 | 2 | -3/+3 |
| | | |||||
| * | feat(refactor.navigation): allow a `fallback_function` for goto_definition | Stephan Seitz | 2020-08-31 | 1 | -4/+10 |
| | | | | | | `fallback_function` is called when nvim-treesitter can not resolve the variable under the cursor. | ||||
| * | Fix(modules): simplify configs.setup | Stephan Seitz | 2020-08-31 | 1 | -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 attach | Stephan Seitz | 2020-08-31 | 1 | -2/+2 |
| | | |||||
| * | Avoid enabling disabled modules (even if they were disabled immediately) | Stephan Seitz | 2020-08-31 | 1 | -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}_usage | Stephan Seitz | 2020-08-31 | 5 | -20/+53 |
| | | |||||
| * | remove second check | Oleg Matrokhin | 2020-08-30 | 1 | -2/+1 |
| | | |||||
| * | fix get_package_path function for paths with trailing slash | Oleg Matrokhin | 2020-08-30 | 1 | -2/+2 |
| | | |||||
| * | Add Windows support (mingw) | Stephan Seitz | 2020-08-27 | 2 | -15/+20 |
| | | |||||
| * | fix(health): only check installed parsers | Thomas Vigouroux | 2020-08-27 | 1 | -20/+7 |
| | | | | | | This is to avoid awfully long checkhealths. And not installed parsers can be infered from the fact that they are not listed. | ||||
