summaryrefslogtreecommitdiff
path: root/plugin
AgeCommit message (Collapse)Author
2021-07-14create TSTagAttribute highlight group (#1575)Sean Baildon
references #1572
2021-07-11Highlights: define string.special (#1551)Santos Gallegos
* Highlights: define string.special This was in our CONTRIBUTING.md file, but wasn't defined. Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/1405 * Use string.escape
2021-07-04feat(keywords) merge return and yield into keyword.return groupantonk52
2021-07-04feat(keywords) add keyword.return & keyword.yieldantonk52
2021-06-22fix typo: Enviroment -> Environmentkmarius
2021-04-24Link TSComment to CommentSantos Gallegos
Fix https://github.com/nvim-treesitter/nvim-treesitter/issues/1246
2021-03-30Add LaTeX maintainersStephan Seitz
2021-03-30Add text.reference and text.environmentStephan Seitz
2021-03-30latex: add TSMath that behaves like vimtex math highlightingStephan Seitz
2021-03-23fix(checkhealth): display error messages of failed queriesStephan Seitz
2021-03-12Add comment parser to highlight comment tags (#893)Santos Gallegos
Closes #236
2021-03-04[highlights] Add TSSymbol highlight groupDennis B
Addresses issue #892 Ruby and Dart literal symbols will now be highlighted by the new TSSymbol highlight group, which itself will, by default, link to the Vim Identifier highlight group. Vim theme authors can then set their TSSymbol colors. Symbol highlighting can apply to a number of languages as noted in the following Wikipedia page: https://en.wikipedia.org/wiki/Symbol_(programming) Not just for Ruby and Dart.
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