summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/install.lua
AgeCommit message (Collapse)Author
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
2020-06-25install can take 'all' as parameterkiyan42
2020-06-25add command to install all parserskiyan42
2020-06-22rename and finish ft->lang migrationkiyan42
2020-06-20refactor: parser list and lang->ft/ft->langkiyan42
- move parser list in `parsers.lua` - most `ft` variable where changed to `lang`, `ft` is only used on autocmd binding, and lang is used for everything else. Functions have been defined to make the switch between `ft` and `lang`
2020-06-19refacto: remove buf_statekiyan42
- remove buf_state and related code - add get_node_at_cursor() - better incremental selection (code is localized)
2020-05-15install: allow installing multiple parsers at onceThomas Vigouroux
This allow commands like so : :TSInstall c rust lua python
2020-05-12refacto/feat: better handling of parser updateskiyan42
features: - node_movement is moving between scopes. - add selection initialization from normal mode - add a decremental selection improvements: - attach to buffer to run tree parsing on change - run state update on CursorMoved - the buffer state is: ``` { cursor_pos = { row=row, col=col }, current_node = node_under_cursor, selection = { range = nil, -- activates when starting a selection nodes = {} -- filling up when starting an incremental selection }, parser = parser, -- parser for current buffer } ``` - refacto all the modules reliant on parsing the tree, update the current nodes, get the current nodes... fixes: - fix has_parser to look for .so libraries - fix should select the whole file when selection root in selection
2020-05-01Avoid global handle to enable installing multiple parsers in parallelStephan Seitz
2020-05-01Add function 'nvim-treesitter/install'.ensure_installedStephan Seitz
2020-04-27fix install by changing cc arguments positionkiyan42
2020-04-24feat/refacto: improve configurationskiyan42
- You should now get the configs through functions - Configs for languages are now inside a local object called parsers - You can get the parser installation configurations with `get_parser_configs` - A new object has been initialized inside configs to specify module config (called config). - Provide functions to enable/disable a module on one buffer - Provide functions to enable/disable a module on all buffers, and if filetype is specified, for specific filetype - Provide function to determine if module is activated for a specified filetype
2020-04-23fix: add -fPIC flag to compilinghaorenW1025
2020-04-21feat/refacto: add configs.lua, setup installkiyan42
- configs.lua holds the `repositories` data - install health moved to health.lua - plugins loads _root.setup() on startup - install and list command are available through vim > use them with `:TSInstall lang` and `:TSInstallInfo`
2020-04-21fix: parser install tbl_flatten > unpackkiyan42
- fix parser install - format install.lua
2020-04-21Merge pull request #11 from kyazdani42/parser-listThomas Vigouroux
feat: add parser list
2020-04-21feat: add typescript installkiyan42
- add repo.location for typescript and compile at that location - typescript and tsx must be installed separately as two different parsers.
2020-04-21refacto/feat: enable csharp install, fix clonekiyan42
- clone only master at depth 1 to avoid long download from huge repos. - use ft to specify folder name to clone so csharp can be cloned and used properly.
2020-04-21fix: repositories from M.repositories since last merge.kiyan42
2020-04-21feat: add checkhealthkiyan42
2020-04-20feat: add parser listkiyan42
2020-04-20feat: add most parserskiyan42
2020-04-20feat/refacto: improve installerkiyan42
2020-04-19add parser installerkiyan42