nvim-treesitter and subsequently neovim is aligning their
capture/highlight groups with upstream tree-sitter. This adds groups as
of nvim 0.10 (unreleased). Existing groups are untouched.
This adds specific highlight groups for GitGutter-related things.
It piggybacks off of the `Diff*` highlight groups.
The `gitsigns.nvim` maintainer [suggested](https://github.com/lewis6991/gitsigns.nvim/issues/94) that this be
implemented by checking if neovim is >= version 0.5, and if the package is
available (as opposed to a variable like `g:loaded_gitsigns`). This is because
`gitsigns` is essentially lazy-loaded so checking the variable when Dracula loads might be too early.
See these other related links in from [gitsigns](https://github.com/lewis6991/gitsigns.nvim):
https://github.com/lewis6991/gitsigns.nvim/issues/54317750d66a
* Add hightlight groups for nvim-treesitter
The majority of this configuration was taken from
https://github.com/ChristianChiarulli/nvcode-color-schemes.vim/pull/14
by [@nitishvelu](https://github.com/nitishvelu). I made a few minor
tweaks based on a ruby project to make sure most of the original tokens
were colored similarly.
* tree-sitter highlights conform to dracula spec
* Use builtin highlight groups
Co-authored-by: Derek Sifford <dereksifford@gmail.com>
* Apply suggestions from code review
Co-authored-by: Derek Sifford <dereksifford@gmail.com>
Co-authored-by: Derek Sifford <dereksifford@gmail.com>
* Add basic support for CtrlP
I figure this would be a nice addition. It will highlight the matched words when typing a search using CtrlP.
* Requested changes
Add conditional around CtrlP changes, change highlight color for match.