Commit graph

68 commits

Author SHA1 Message Date
stnley
9fa8929688 Add new tree-sitter groups from neovim
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.
2024-02-23 08:14:27 -05:00
Noah Friedman
0bf17b30c9
Update GitSignsDelete highlight group to always link to DraculaRed (#307) 2023-06-13 16:06:22 -04:00
Noah Friedman
22cb6183db
Update after/plugin/dracula.vim
Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com>
2023-05-25 17:01:18 -04:00
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
Andy
d21059cd59
Syntax Highlighting specific for PureScript (#218) 2021-04-23 12:57:53 -04:00
Timothée Sterle
e9efa96bf1
update highlights for pangloss/vim-javascript (#245) 2021-04-15 08:19:20 -04:00
D. Ben Knoble
ab37ffc5ae syntax: tex: make texRefZone special again (#235)
Closes #235.

The default syntax/tex.vim links texRefZone to Special, making it more
like a regular LaTeX command than plain-text.
2021-03-18 12:27:22 -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
d7xdev
8242b8f5aa
Add RST syntax to mimic Markdown colors (#216)
Co-authored-by: d7xdev <d7xdev@users.noreply.github.com>
2020-11-04 10:18:58 -05:00
Timothée Sterle
da39a7f4c7
luaBuiltin should be BuiltInMagicMethodsOrConstants 2020-11-02 14:00:04 +01:00
Timothée Sterle
4ac9e71d1c
link luaSpecialTable to Constant instead 2020-11-02 13:57:59 +01:00
Timothée Sterle
e3113a8fb5
remove the luaFuncKeyword highlight
It is already highlighted correctly
2020-11-01 19:06:41 +01:00
Timothée Sterle
df98a0ae94
add luaErrHand 2020-11-01 04:54:53 +01:00
Timothée Sterle
caceb56991
add highlights for tbastos/vim-lua 2020-10-31 22:40:19 +01:00
Renato Augusto Gama dos Santos
922e2ba1ee
fix: add typescript.tsx in typescriptreact.vim (#200) 2020-07-09 09:56:47 -04:00
Renato Augusto Gama dos Santos
10932ddaaf
JSX - Support vim-jsx-pretty and improve YATS syntax (#198)
* Initial work supporting maxmellon/vim-jsx-pretty

* adding purple for variable declarations

* feat: vim-jsx-pretty syntax support javascript/javascriptreact

* feat: allow typescript.tsx in typescript.vim

* feat: support vim-jsx-pretty in .tsx/typescriptreact

* fix: remove changes outside scope

* fix: return yats to original

* feat: update vim-jsx-pretty support to match expected colors

Co-authored-by: Guillermo Velasquez <guillermo.velasquez@gmail.com>
2020-07-06 09:10:08 -04:00
3uclidian
bb34458c42
Added Lua syntax file (#186)
* Added Lua syntax file

* Conforming to spec
2020-05-06 09:08:58 -04:00
Derek Sifford
165b7e6730 Revert "Set colors for syntax defined by stephpy/vim-yaml. (#163)"
This reverts commit 2518886fbf.

This reversion is because styphpy/vim-yaml redeclares vim global regions and this messes with other filetypes.
2019-12-22 18:33:23 -05:00
Matteo Pergolesi
2518886fbf Set colors for syntax defined by stephpy/vim-yaml. (#163)
* Set colors for syntax defined by stephpy/vim-yaml.

* Wrapping in fold
2019-12-22 18:21:07 -05:00
Derek Sifford
c8c0a93254
fix: move back to "typescriptreact" from "typescript.tsx" filetype (#153)
* fix: move back to "typescriptreact" from "typescript.tsx" filetype

This change is in accordance to the now official filetype defined by vim itself.

See: 92852cee3f

* add typescriptreact to should_abort call in typescript ftplugin
2019-10-21 10:38:18 -04:00
Derek Sifford
cd18ffb1fb
autoload color palette. closes #138 (#139) 2019-05-25 17:50:22 -04:00
Derek Sifford
bfbc3cadbd small spec alignment adjustments to highlights for python, sh, and typescript 2019-05-23 13:39:20 -04:00
Derek Sifford
779e88d67e remove extinct "typescriptreact" syntax adjustments (renamed to "tsx") 2019-05-23 13:38:38 -04:00
Derek Sifford
c32ddf3397 add plantuml syntax highlight adjustments 2019-05-23 13:37:27 -04:00
Derek Sifford
b68c4fdbd3 misc syntax spec alignments 2019-04-30 11:47:29 -04:00
Derek Sifford
d8ca3b52b0 misc spec alignments in sh and typescript 2019-04-15 16:04:02 -04:00
Derek Sifford
34efabac14 fix rust doc comment highlighting 2019-04-07 14:07:53 -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
Daniel Mita
a70e2c06b2 Syntax highlighting for Perl 5 (#122) 2019-01-11 11:51:54 -05:00
fsonner
0f4ebc51a7 Remove texTypeStyle from DraculeSubtle group (#112)
Fixes #111
2018-11-06 17:31:37 -05:00
Derek P Sifford
66755a9cb9 small syntax fixes for typescript and markdown 2018-10-30 19:56:07 -04:00
D. Ben Knoble
8548869806
Merge pull request #109 from dracula/ale-patch
Patch ALE highlights to use dracula colors
2018-10-27 14:08:18 -04:00
Derek P Sifford
1629973ce6 misc small spec fixes 2018-10-25 10:56:34 -04:00
David Ben Knoble
f67a7d29cb Fix non-existent groups 2018-10-23 10:33:41 -04:00