Commit graph

27 commits

Author SHA1 Message Date
Noah Friedman
aedcab9da1
Update configuration of GitSignsDelete to maintain consistent
backgrounds
2023-05-25 15:16:11 -04:00
saccarosium
08099871d6 Fix don't interrupt the cursorline 2022-12-01 20:04:27 +01:00
yuys13
947e529876 Fix #296 2022-11-30 13:02:00 -05:00
yuys13
04a7002a04 Add diff highlights for treesitter 2022-11-30 08:34:51 -05:00
Derek Sifford
b9f4f3a169 fix incorrect treesitter highlight 2022-11-07 11:25:58 -05:00
yuys13
08c8c4bb7f fix typo 2022-10-25 00:37:16 +09:00
yuys13
84adf19f1d Add version check for neovim
Add compatibility with older neovim to support older version of
nvim-treesitter
2022-10-18 12:52:11 +09:00
yuys13
ed78f2f6b1 Restore TS* highlight groups 2022-10-18 00:36:49 +09:00
yuys13
3431d5c747 Add default values lost due to breaking changes in nvim-treesitter 2022-10-17 23:44:06 +09:00
yuys13
dbc09df252 feat(treesitter)!: use @foo.bar style highlight groups
nvim-treesitter has removed `TS*` highlight groups.
Thus we need to use @foo.bar style highlight groups.
2022-10-17 21:47:28 +09:00
yuys13
210e0961b9
Update highlights for nvim-cmp (#273) 2022-01-18 10:13:14 -05:00
yuys13
e61619717d
Add nvim-cmp menu highlight (#274) 2022-01-18 10:12:35 -05:00
stnley
d1f682313f Add nvim-cmp kind highlights 2021-12-09 22:49:19 -05:00
Adrian Trunzo
074a6b3495
Highlight tag attributes via tree-sitter. (#255)
* Highlight tag attributes via tree sitter.

* Comments about tree-sitter hightlight groups.
2021-08-06 11:50:31 -04:00
Howard Huang
5f10746c3c
Add GitGutter/GitSigns highlighting (#234)
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/54
317750d66a
2021-03-17 08:44:53 -04:00
Derek Stride
561c21a962
Update treesitter highlight groups + remove syntax error highlights (#232)
* Ignore highlight groups from the default treesitter config

https://github.com/nvim-treesitter/nvim-treesitter/blob/master/plugin/nvim-treesitter.vim

* Remove TSError highlight

I mistakenly thought the TSError highlight group was used for
highlighting error types. However upon further investigation into
https://github.com/dracula/vim/issues/231 I discovered it's actually
applied to syntax errors.

While typing out new code, treesitter is unable to parse the new code
and will highlight with TSError, in most cases we don't want that to
show up as an Error since we're not finished typing. See
https://github.com/nvim-treesitter/nvim-treesitter/issues/78#issuecomment-647140700
for more infomation.
2021-03-08 14:47:28 -05:00
Derek Stride
32f0a489d1
Add hightlight groups for nvim-treesitter (#230)
* 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>
2021-03-05 09:33:18 -05:00
Derek Sifford
cd18ffb1fb
autoload color palette. closes #138 (#139) 2019-05-25 17:50:22 -04:00
Derek Sifford
b68c4fdbd3 misc syntax spec alignments 2019-04-30 11:47:29 -04:00
Brad Dielman
d8d75f8a12 Add basic support for CtrlP (#131)
* 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.
2019-03-20 15:37:08 -04:00
Derek Sifford
1e2477db8b
misc spec alignment tweaks (#128) 2019-02-23 16:08:48 -05:00
David Ben Knoble
f67a7d29cb Fix non-existent groups 2018-10-23 10:33:41 -04:00
Derek Sifford
1a0c568bdd
Fix WarningLine => WarnLine
Co-Authored-By: benknoble <ben.knoble@gmail.com>
2018-10-23 10:31:03 -04:00
David Ben Knoble
827ace9679 Patch ALE highlights to use dracula colors
By default, they are:

- ALEError => SpellBad => DraculaErrorLine
- ALEWarning => SpellCap => DraculaInfoLine
- ALEInfo => ALEWarning => SpellCap => DraculaInfoLine

- ALEErrorSign => Error => DraculaError
- ALEWarningSign => Todo => DraculaTodo
- ALEInfoSign => ALEWarningSign => Todo => DraculaTodo

Proposed change:

- ALEError => DraculaErrorLine
- ALEWarning => DraculaWarningLine
- ALEInfo => DraculaInfoLine

- ALEErrorSign => DraculaError
- ALEWarningSign => DraculaWarning
- ALEInfoSign => DraculaInfo
2018-10-22 14:57:37 -04:00
Derek Sifford
b5548cd0af
address issues #82, #83, #84 (#85)
* address issues #82, #83, #84

* address code review issues

* remove fzf autocmd per code review comments
2018-05-23 22:52:06 -04:00
Derek Sifford
b34882be6c
add syntax adjustments on demand + add php & typescript (#77) 2018-05-02 14:42:59 -04:00
Derek Sifford
e4ce096eb8
add support for fzf (#75) 2018-04-22 18:47:04 -04:00