aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
...
* fix(configs): simplify module setup processThomas Vigouroux2020-07-151-17/+9
| | | | | | | | Abuse a bit of tbl_extend and tbl_deep_extend. We might want to continue this effort, and simplify this part of the plugin. Fixes #178
* Update documentation for new modules 'refactor'/'textobjects'Stephan Seitz2020-07-141-1/+0
|
* Add textobjects moduleStephan Seitz2020-07-146-26/+203
|
* Fix highlight of usages after merging highlight_current_scopeStephan Seitz2020-07-141-1/+1
|
* Add module refactor.highlight_current_scopeStephan Seitz2020-07-132-0/+52
|
* Add ts_utils.highlight_nodeStephan Seitz2020-07-132-20/+14
|
* Fix #167: Add custom_captures config key to set highlights for custom queriesStephan Seitz2020-07-132-0/+15
|
* Lint: remove second argument for one-argument functionStephan Seitz2020-07-131-1/+1
|
* fix(refactor): highlight def perf issue fixSteven Sojka2020-07-082-31/+27
|
* feat(configs): dynamic module defintionsSteven Sojka2020-07-072-71/+168
|
* Allow arbitrary query files in locals.luaStephan Seitz2020-07-051-10/+49
| | | | This is a preparation for `textobject` queries.
* Make luacheck happyStephan Seitz2020-07-0510-43/+23
|
* fix ask installkiyan422020-06-301-8/+8
|
* Define multiple query for a languagekiyan422020-06-301-0/+19
| | | | | Allows using another query file for a language, or use a query file from another language
* if/else in defining languageskiyan422020-06-301-2/+5
|
* fix: remove goto statementskiyan422020-06-301-21/+24
|
* update installer with sync and some fixeskiyan422020-06-303-65/+92
| | | | | | - add sync method for installing using `system` - remove `descriptions` in command configs - use install(lang) in ensure_installed and make it compatible
* refactor(refactor): use higher local apis and some cleanupSteven Sojka2020-06-307-65/+75
|
* feat(refactor): add definition navigation moduleSteven Sojka2020-06-303-7/+123
|
* feat(refactor): add smart rename moduleSteven Sojka2020-06-305-24/+115
|
* feat(refactor): highlight usages moduleSteven Sojka2020-06-307-36/+271
|
* add used_by key to parserskiyan422020-06-293-17/+35
| | | | Enables the use of multiple filetypes for one parser.
* Merge pull request #102 from vigoux/fix-94Stephan Seitz2020-06-271-2/+2
|\ | | | | Separate queries with newlines
| * fix: separate queries with newlinesThomas Vigouroux2020-06-211-2/+2
| |
* | highlight: use custom highlight groupsThomas Vigouroux2020-06-261-32/+32
| |
* | continue installing if not reinstalling one parserkiyan422020-06-251-1/+2
| |
* | install can take 'all' as parameterkiyan422020-06-251-12/+14
| |
* | add command to install all parserskiyan422020-06-251-0/+7
| |
* | fix(locals): compute locals after later tickSteven Sojka2020-06-241-1/+1
| |
* | rename and finish ft->lang migrationkiyan422020-06-224-36/+36
| |
* | Fix bash parser urlSantos Gallegos2020-06-211-1/+1
|/ | | | Not sure if this was on purpose or if it was a mistake
* fix(statusline): don't call if no parserThomas Vigouroux2020-06-211-0/+1
|
* Merge pull request #90 from kyazdani42/fix/parser-names-as-filetypesKiyan Yazdani2020-06-218-276/+310
|\ | | | | refacto/fix: filetype / parser name distinction
| * refactor: parser list and lang->ft/ft->langkiyan422020-06-208-276/+310
| | | | | | | | | | | | | | - 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`
| * fix: declare parse names as their appropriate filetype and change clone urlkiyan422020-06-191-6/+6
| |
* | Merge pull request #72 from doubleloop/pythonStephan Seitz2020-06-211-0/+1
|\ \ | |/ |/| Updated python highlights
| * Updated python highlightsJakub Łuczyński2020-06-211-0/+1
| | | | | | | | | | | | | | | | | | * allow for digits in constant names * removed redundant/conflicting rules * added missing hlmap * fixed escape_sequence * more explicit @constructor assignment * added rules for function decoration identifiers
* | add winnr to get_node_at_cursorkiyan422020-06-191-2/+2
| |
* | refacto: remove buf_statekiyan422020-06-199-233/+100
| | | | | | | | | | | | - remove buf_state and related code - add get_node_at_cursor() - better incremental selection (code is localized)
* | Fixup: Introduce base languages for queriesStephan Seitz2020-06-151-1/+1
| | | | | | | | Use same argument for nvim_get_runtime_file for base language
* | Introduce base languages for queriesStephan Seitz2020-06-151-1/+21
| | | | | | | | | | | | Some treesitter grammars just extend another treesitter grammar. This enables us to use the C queries also for C++. We only need to put additional queries in the C++ files.
* | Merge pull request #80 from steelsojka/feat/user-query-overridesKiyan Yazdani2020-06-151-4/+11
|\ \ | | | | | | feat(queries): allow user query overrides
| * | feat(queries): allow for user overridesSteven Sojka2020-06-141-4/+11
| |/
* / Add tree-sitter-regexStephan Seitz2020-06-141-0/+7
|/ | | | This might be interesting for injected highlighting
* feat: add syntax-based foldingThomas Vigouroux2020-05-251-0/+29
|
* Merge pull request #56 from theHamsta/python-localsThomas Vigouroux2020-05-231-0/+1
|\ | | | | Add python locals.scm
| * Introduce `@include`Stephan Seitz2020-05-171-0/+1
| |
* | Remove postspaces and avoid one globalStephan Seitz2020-05-223-6/+6
|/
* install: allow installing multiple parsers at onceThomas Vigouroux2020-05-151-24/+22
| | | | | This allow commands like so : :TSInstall c rust lua python
* Expose internal api.kiyan422020-05-154-85/+18
| | | | | | | | - 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.