summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-15Merge pull request #55 from vigoux/install-multiple-argsKiyan Yazdani
Allow installing multiple parsers at once
2020-05-15install: allow installing multiple parsers at onceThomas Vigouroux
This allow commands like so : :TSInstall c rust lua python
2020-05-15Merge pull request #54 from kyazdani42/feat/expose-apiThomas Vigouroux
Expose internal api.
2020-05-15Expose internal api.kiyan42
- add `exposed_state` to expose 'current_node' and 'cursor_pos' for a current buffer to the user. - add `get_buf_state` and `get_node_api` for users. - add documentation about api functions. - remove `node_movement` module which should be done in user side.
2020-05-12Merge pull request #45 from kyazdani42/refacto-feat/buf-state-updateKiyan Yazdani
refacto/feat: better handling of parser updates
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-12Merge pull request #51 from TravonteD/ruby-updateThomas Vigouroux
Update ruby highlights and locals to conform to contributing.md
2020-05-11update ruby highlights and locals to conform the new contributionTravonteD
standards
2020-05-11Merge pull request #1 from nvim-treesitter/masterTravonteD
Updates from master
2020-05-08Merge pull request #47 from theHamsta/fix-typo-contributing.mdKiyan Yazdani
Fix typo in CONTRIBUTING.md
2020-05-08Fix typo in CONTRIBUTING.mdStephan Seitz
2020-05-08Merge pull request #46 from theHamsta/fix-typo-readmeKiyan Yazdani
Fix typo in README.md
2020-05-08Fix typo in README.mdStephan Seitz
2020-05-07Merge pull request #40 from vigoux/contributingKiyan Yazdani
Add CONTRIBUTING.md
2020-05-07fix(CONTRIBUTING): typosThomas Vigouroux
2020-05-07fix(lua): update queriesThomas Vigouroux
2020-05-07fix: change locals extractionThomas Vigouroux
2020-05-07feat: support suggested highlightsThomas Vigouroux
2020-05-07docs: add contributig draftThomas Vigouroux
2020-05-07Merge pull request #44 from vigoux/statuslineKiyan Yazdani
Provide a statusline indicator
2020-05-07docs: add statusline indicator informations.Thomas Vigouroux
Also document newly added parsers by adding them in the readme.
2020-05-05feat: provide a statusline indicatorThomas Vigouroux
It will show the current branch at the cursor going the tree as such. root->node->subnode->leaf If an argument is provided to `statusline`, then the tree will be truncated as follows : ..->subnode->subnode
2020-05-03Merge pull request #37 from theHamsta/node-movementThomas Vigouroux
Add 'nvim-treesitter/node-movement'
2020-05-03Add documentation for `node_movement`, rename: `textobj` -> ↵Stephan Seitz
`incremental_selection`
2020-05-03Add 'nvim-treesitter/node-movement'Stephan Seitz
2020-05-02Merge pull request #39 from vigoux/incremental_selectionKiyan Yazdani
Move textobj module to incremental_selection.
2020-05-02modules: move textobj to incremental_selectionThomas Vigouroux
As suggested in #37, rename the textobj module to incremental_selection. Also adds a utility function to get the config of a module.
2020-05-01Merge pull request #36 from theHamsta/community-parsersKiyan Yazdani
Add some more community parsers
2020-05-01Add some more community parsersStephan Seitz
The haskell one really takes long to compile
2020-05-01Merge pull request #35 from kyazdani42/refacto/config-docThomas Vigouroux
update docs for ensure installed, move modules config in config.modules
2020-05-01update docs for ensure installed, move modules config in config.moduleskiyan42
2020-05-01Merge pull request #34 from theHamsta/ensure_installedKiyan Yazdani
Add function 'nvim-treesitter/install'.ensure_installed
2020-05-01Avoid global handle to enable installing multiple parsers in parallelStephan Seitz
2020-05-01Add `ensure_installed` option to configStephan Seitz
2020-05-01Add function 'nvim-treesitter/install'.ensure_installedStephan Seitz
2020-04-28Merge pull request #33 from kyazdani42/doc/add-documentationThomas Vigouroux
Doc/add documentation
2020-04-28add vim documentationkiyan42
2020-04-28Merge pull request #32 from kyazdani42/feat/readme-infosThomas Vigouroux
edit: add information to the readme
2020-04-28edit: add information to the readmekiyan42
- commands descriptions - list of supported languages
2020-04-28add documentationkiyan42
2020-04-27Merge pull request #30 from kyazdani42/fix/arg-positionning-installKiyan Yazdani
fix install by changing cc arguments position
2020-04-27fix install by changing cc arguments positionkiyan42
2020-04-26Merge pull request #28 from vigoux/checkhealth-highlightKiyan Yazdani
Add highlight to healthchecks
2020-04-26health(refactor): move checks inside health.luaThomas Vigouroux
2020-04-26health: add highlight to healthchecksThomas Vigouroux
2020-04-25Merge pull request #23 from vigoux/feature/textobjectsKiyan Yazdani
Node and scope text objects
2020-04-25refactor(textobj): remove unnecessary functionsThomas Vigouroux
2020-04-25refactor(textobj): use configs and don't use VimLThomas Vigouroux
2020-04-25textobj: little refactorThomas Vigouroux
2020-04-25textobj: add incremental scope selectionThomas Vigouroux