summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/install.lua
AgeCommit message (Collapse)Author
2021-03-16hotfix npm checkkiyan
2021-03-16Add an error message if NPM is not available but neededStephan Seitz
2021-03-16Add explanation why some parsers need to be generated from source nowStephan Seitz
2021-03-16Fixup CIStephan Seitz
2021-03-16Add CI hackStephan Seitz
2021-03-16Mark parsers with NPM dependencyStephan Seitz
2021-03-16Make parsers that require "TSGenerateFromGrammar"Stephan Seitz
2021-03-04Add Windows support for cl.exeJozef Grajciar
Co-authored-by: Stephan Seitz <stephan.seitz@fau.de>
2021-02-27chore: remove useless code and indent fileskiyan
2020-12-12[docgen] Update README.mdGithub Actions
skip-checks: true
2020-11-29Fix: Print message when TSUpdate has nothing to doStephan Seitz
2020-11-25Only update outdated_parsers on TSUpdateStephan Seitz
2020-10-31feat(install): Enable installation of parser with repo.url as a local pathStephan Seitz
2020-10-28fix(#620): Fall into the "update-all" branch if lang is "all"BodneyC
2020-10-26feat(install): add "maintained" option to only install maintained parsersStephan Seitz
Unmaintained parsers only give users little benefit but take sometimes a a long time to install (e.g. Markdown, Julia, Haskell parser). We could recommend to only install maintained parsers by default.
2020-10-24show [treesitter] during installkyazdani42
2020-10-06Shorten module reference shell_command_selectors to shell.Suhas Hebbar
2020-10-06Code RefactorSuhas Hebbar
- Move select_* function to shell_command_selectors.lua. - Rename select_args to select_compiler_args.
2020-10-06Remove dependency on unzip.Suhas Hebbar
Use tar instead which should be available on default Unixes and Windows
2020-10-04Fix: fallback git-installation (list of commands is expected)Stephan Seitz
2020-09-28chore: dedup join_paths <-> join_pathStephan Seitz
2020-09-27Add progress info to iter_cmdStephan Seitz
2020-09-27Add lockfile and make lockfile default install revisionStephan Seitz
2020-09-22feat(parsers): add possibility to install from other branchesStephan Seitz
More and more Github repos are switching to "main" branch. Example: `tree-sitter-wasm`
2020-09-19feat(install): make compiler selectableStephan Seitz
Compilers are selectable via 'nvim-treesitter.install'.compilers (list of compilers) or environment variable CC Addresses #502
2020-09-19fix: only concatenate cmd.err if not nilStephan Seitz
2020-09-19feat(install): print more information when there's a failurePau Ruiz Safont
2020-09-18Ensure that updated files are replaced w/o warningRasmus Michelsen
2020-09-18Make :TSInstall work in Nix by adding a second module installation target (#473)Florian Beeres
* 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.
2020-09-11Yield meaningful error messages in iter_cmd{,_sync} when cmd.err == nilStephan Seitz
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-06Fixed table insertionRasmus Michelsen
2020-09-06Fixed win32 check hopefullyRasmus Michelsen
2020-09-06Added changesRasmus Michelsen
2020-09-06A few fixesRasmus Michelsen
2020-09-06Local variable fixRasmus Michelsen
2020-09-06Support TSInstall on Winddows with ClangRasmus Michelsen
2020-09-05Completion: use custom instead of customlistSantos Gallegos
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/396
2020-09-04Refactor: move completion functions to autoloadSantos Gallegos
2020-08-27Add Windows support (mingw)Stephan Seitz
2020-08-11perf: cache parser file list for performanceThomas Vigouroux
2020-08-02feat(install): Export iter_cmdStephan Seitz
2020-08-02Add TSUninstallStephan Seitz
2020-08-02Add TSUpdate command to update parsersStephan Seitz
2020-07-13Lint: remove second argument for one-argument functionStephan Seitz
2020-06-30fix ask installkiyan42
2020-06-30if/else in defining languageskiyan42
2020-06-30fix: remove goto statementskiyan42
2020-06-30update installer with sync and some fixeskiyan42
- add sync method for installing using `system` - remove `descriptions` in command configs - use install(lang) in ensure_installed and make it compatible
2020-06-25continue installing if not reinstalling one parserkiyan42