Commit Graph

20 Commits

Author SHA1 Message Date
Thomas Vigouroux
1846d92ec6 fix(highlight): link TSVariable to Normal 2020-08-13 14:09:48 +02:00
Akin Sowemimo
1427c43cf0 Change capture groups and add variable highlights 2020-08-09 19:12:26 +02:00
Santos Gallegos
429036317a Lua: highlight function name 2020-08-09 18:38:00 +02:00
Stephan Seitz
775ce30edd Add 'all' to completions for TSInstall/TSUpdate/TSUninstall 2020-08-02 22:58:08 +02:00
Stephan Seitz
a872762d82 Add TSUpdate command to update parsers 2020-08-02 22:58:08 +02:00
Santos Gallegos
6f01384cb2 Parsers: add reStructuredText 2020-07-27 09:16:26 +02:00
Akin Sowemimo
599bec3890 Rename attribute to annotation 2020-07-23 17:17:03 +02:00
Akin Sowemimo
ee83c3bd02 Add attribute to the highlight map 2020-07-23 17:17:03 +02:00
Stephan Seitz
ee80e1ebc5 Add module refactor.highlight_current_scope 2020-07-13 22:26:17 +02:00
Stephan Seitz
817abb3688 Fix #136: Highlight of TSFloat should be Float not TSFloat 2020-07-01 13:22:20 +02:00
Steven Sojka
d73500eaa6 refactor(refactor): use higher local apis and some cleanup 2020-06-30 08:21:01 +02:00
Thomas Vigouroux
f4b87d3364 highlights: declare links as defaults 2020-06-29 13:03:11 +02:00
Thomas Vigouroux
282e18edd1 highlight: use custom highlight groups 2020-06-26 20:56:19 +02:00
kiyan42
df17a48c85 refactor: parser list and lang->ft/ft->lang
- 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-20 12:31:52 +02:00
Thomas Vigouroux
cadb3ee1ff refactor(textobj): use configs and don't use VimL 2020-04-25 21:46:22 +02:00
Thomas Vigouroux
c62685841e textobj: add incremental scope selection 2020-04-25 21:46:22 +02:00
kiyan42
62786ec7c6 feat/refacto: improve configurations
- 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-24 22:15:21 +02:00
kiyan42
62ce7744db feat/refacto: add configs.lua, setup install
- 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-21 23:40:23 +02:00
Thomas Vigouroux
6cab5c2d75 feat: create NvimTreesitter augroup at startup 2020-04-19 17:28:59 +02:00
Thomas Vigouroux
0d5ef2f980 fix: add plugin file 2020-04-19 17:28:52 +02:00