summaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2020-07-15feat(textobjects): Add `start` to include preceding things like documentationStephan Seitz
2020-07-15checkhealth for all query groupsStephan Seitz
2020-07-15Use C++ parser for "cuda" filetypeStephan Seitz
2020-07-15fix(configs): deep merge table configsSteven Sojka
2020-07-15feat(refactor.navigation): update jumplist on jumpThomas Vigouroux
Push a jumplist item when using `goto_definition`. Fixes #166
2020-07-15fix(configs): simplify module setup processThomas Vigouroux
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
2020-07-14Update documentation for new modules 'refactor'/'textobjects'Stephan Seitz
2020-07-14Add textobjects moduleStephan Seitz
2020-07-14Fix highlight of usages after merging highlight_current_scopeStephan Seitz
2020-07-13Add module refactor.highlight_current_scopeStephan Seitz
2020-07-13Add ts_utils.highlight_nodeStephan Seitz
2020-07-13Fix #167: Add custom_captures config key to set highlights for custom queriesStephan Seitz
2020-07-13Lint: remove second argument for one-argument functionStephan Seitz
2020-07-08fix(refactor): highlight def perf issue fixSteven Sojka
2020-07-07feat(configs): dynamic module defintionsSteven Sojka
2020-07-05Allow arbitrary query files in locals.luaStephan Seitz
This is a preparation for `textobject` queries.
2020-07-05Make luacheck happyStephan Seitz
2020-06-30fix ask installkiyan42
2020-06-30Define multiple query for a languagekiyan42
Allows using another query file for a language, or use a query file from another language
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-30refactor(refactor): use higher local apis and some cleanupSteven Sojka
2020-06-30feat(refactor): add definition navigation moduleSteven Sojka
2020-06-30feat(refactor): add smart rename moduleSteven Sojka
2020-06-30feat(refactor): highlight usages moduleSteven Sojka
2020-06-29add used_by key to parserskiyan42
Enables the use of multiple filetypes for one parser.
2020-06-27Merge pull request #102 from vigoux/fix-94Stephan Seitz
Separate queries with newlines
2020-06-26highlight: use custom highlight groupsThomas Vigouroux
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-24fix(locals): compute locals after later tickSteven Sojka
2020-06-22rename and finish ft->lang migrationkiyan42
2020-06-21fix: separate queries with newlinesThomas Vigouroux
2020-06-21Fix bash parser urlSantos Gallegos
Not sure if this was on purpose or if it was a mistake
2020-06-21fix(statusline): don't call if no parserThomas Vigouroux
2020-06-21Merge pull request #90 from kyazdani42/fix/parser-names-as-filetypesKiyan Yazdani
refacto/fix: filetype / parser name distinction
2020-06-21Merge pull request #72 from doubleloop/pythonStephan Seitz
Updated python highlights
2020-06-21Updated python highlightsJakub Łuczyński
* 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
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-19fix: declare parse names as their appropriate filetype and change clone urlkiyan42
2020-06-19add winnr to get_node_at_cursorkiyan42
2020-06-19refacto: remove buf_statekiyan42
- remove buf_state and related code - add get_node_at_cursor() - better incremental selection (code is localized)
2020-06-15Fixup: Introduce base languages for queriesStephan Seitz
Use same argument for nvim_get_runtime_file for base language
2020-06-15Introduce base languages for queriesStephan Seitz
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.
2020-06-15Merge pull request #80 from steelsojka/feat/user-query-overridesKiyan Yazdani
feat(queries): allow user query overrides
2020-06-14Add tree-sitter-regexStephan Seitz
This might be interesting for injected highlighting
2020-06-14feat(queries): allow for user overridesSteven Sojka
2020-05-25feat: add syntax-based foldingThomas Vigouroux