aboutsummaryrefslogtreecommitdiffstats
path: root/lua
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor locals.lua:Stephan Seitz2020-07-1611-294/+289
| | | | | - shared query group stuff -> query.lua - local-specific stuff from ts_utils -> locals.lua
* Refactor: Add parsers.get_buf_langStephan Seitz2020-07-165-11/+18
|
* fix(ts_utils): be sure to parse to get rootThomas Vigouroux2020-07-161-1/+1
| | | | | | | | Be sure to call `parser:parser()` to get a tree instead of getting the tree directly. This will not cost anything is the buffer is freshly parsed. Fixes #181
* fix(parsers): add additional typescript filetype to parserPierre Poupin2020-07-151-0/+1
| | | Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/181
* feat(textobjects): Add `start` to include preceding things like documentationStephan Seitz2020-07-153-6/+30
|
* checkhealth for all query groupsStephan Seitz2020-07-152-19/+13
|
* Use C++ parser for "cuda" filetypeStephan Seitz2020-07-151-1/+2
|
* fix(configs): deep merge table configsSteven Sojka2020-07-151-37/+5
|
* feat(refactor.navigation): update jumplist on jumpThomas Vigouroux2020-07-151-0/+3
| | | | | | Push a jumplist item when using `goto_definition`. Fixes #166
* 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.