Commit graph

12 commits

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