Commit graph

12 commits

Author SHA1 Message Date
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