summaryrefslogtreecommitdiff
path: root/plugin
AgeCommit message (Collapse)Author
2021-02-11HTML: improve highlights & injectionsSantos Gallegos
2021-01-28feat(query): add cache for get_query (#879)oberblastmeister
* added cached to get_query * added reload function * fixed message * added autocommand to reload cache on bufwrite for query file * pass filename to autocommand v:lua fn * removed comment * added metatable * fixed loop * Update lua/nvim-treesitter/query.lua Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com> * Update lua/nvim-treesitter/query.lua Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com> * added do ... end to local query_cache * made line shorter Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
2020-12-21Revert "Add lacked highlight link defined in highlight.lua"delphinus
This reverts commit 00f4f4d9856da0191c1d7f0d33f22b7cfcbb56c8.
2020-12-21Add lacked highlight link defined in highlight.luadelphinus
2020-10-19Fix #595, #583: do not set defaults for highlights that have no default ↵Stephan Seitz
highlighting
2020-10-11Explicitly check for cterm and gui values for fgAkin Sowemimo
If a user hasn't set either we default to NONE
2020-10-11Add a check to ensure the fg attribute existsAkin Sowemimo
before setting the value
2020-10-11Don't change the background highlightsAkin Sowemimo
treesitter highlighting is colouring the characters in the foreground so there's no need to touch the highlighting of the background
2020-10-11fix cterm fg and bg errorAkin Sowemimo
2020-10-11Add background and foreground colors to TSNoneAkin Sowemimo
This fixes the issue where colors highlighted as TSNone were not reverting to the background and foreground color.
2020-10-10fix(highlights): Add TSNamespace highlightStephan Seitz
Start adding highlights for - C++ - Rust (including other scoped_identifier/scoped_type_identifier fixes) - JS (only namespace_import) Addresses #516
2020-10-05Dart highlights: Reset highlight in interpolationStephan Seitz
2020-09-25chore(modules): remove refactor moduleSteven Sojka
2020-09-19Add @keyword.operator for operators that are English words and add ↵Stephan Seitz
@exception for Java/JS
2020-09-18Re-add attribute highlightAkin Sowemimo
2020-09-18use TSnone instead of linking to Normalkyazdani42
2020-09-18link highlight groups for TSTag and TSTagDelimiterTravonteD
2020-09-15add TSNonekiyan42
2020-09-06Highlights: default TSError to NormalSantos Gallegos
This provides a better experience for users without any extra config.
2020-09-06Highlights: use underlined for TSURISantos Gallegos
Neovim already uses this hl group `:h group-name` and it's recommend for links.
2020-09-04Refactor: move completion functions to autoloadSantos Gallegos
2020-08-16feat(highlights): add is predicateSteven Sojka
2020-08-13fix(highlight): link TSVariable to NormalThomas Vigouroux
2020-08-09Change capture groups and add variable highlightsAkin Sowemimo
2020-08-09Lua: highlight function nameSantos Gallegos
2020-08-02Add 'all' to completions for TSInstall/TSUpdate/TSUninstallStephan Seitz
2020-08-02Add TSUpdate command to update parsersStephan Seitz
2020-07-27Parsers: add reStructuredTextSantos Gallegos
2020-07-23Rename attribute to annotationAkin Sowemimo
2020-07-23Add attribute to the highlight mapAkin Sowemimo
2020-07-13Add module refactor.highlight_current_scopeStephan Seitz
2020-07-01Fix #136: Highlight of TSFloat should be Float not TSFloatStephan Seitz
2020-06-30refactor(refactor): use higher local apis and some cleanupSteven Sojka
2020-06-29highlights: declare links as defaultsThomas Vigouroux
2020-06-26highlight: use custom highlight groupsThomas Vigouroux
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-04-25refactor(textobj): use configs and don't use VimLThomas Vigouroux
2020-04-25textobj: add incremental scope selectionThomas Vigouroux
2020-04-24feat/refacto: improve configurationskiyan42
- 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-21feat/refacto: add configs.lua, setup installkiyan42
- 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-19feat: create NvimTreesitter augroup at startupThomas Vigouroux
2020-04-19fix: add plugin fileThomas Vigouroux