Commit graph

238 commits

Author SHA1 Message Date
etorth
4444f9e7b4 use yellow/purple as high-contrast-diff color 2022-10-28 14:48:18 -07:00
D. Ben Knoble
06ac6aa960
Merge pull request #292 from etorth/master 2022-10-28 12:44:44 -04:00
etorth
59d16f4673 document g:dracula_high_contrast_diff 2022-10-28 09:00:12 -07:00
etorth
3fa18cc50a support high contrast diff color 2022-10-27 16:28:37 -07:00
D. Ben Knoble
7ebadce59c
Merge pull request #291 from yuys13/fix/treesitter
Update treesitter highlight groups
2022-10-24 12:00:26 -04: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
D. Ben Knoble
d7723a842a
Merge pull request #282 from stnley/master
feat(nvim): Add support for WinSeparator
2022-03-24 13:14:14 -04:00
stnley
eace9d037f moved hi link to existing nvim guard 2022-03-24 13:03:22 -04:00
stnley
f6e6b25048 Change name from DraculaSeparator to DraculaWinSeparator. Apply default
style to DraculaWinSeparator. Link DraculaWinSeparator to VertSplit.
2022-03-23 19:39:18 -04:00
Lucas de França
d552ad035c 📝 Update readme 2022-03-20 23:04:56 -03:00
stnley
11d18b0700 feat(nvim): Add support for WinSeparator 2022-03-19 18:45:14 -04: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
D. Ben Knoble
74f63c304a
Merge pull request #272 from stnley/master
Add nvim-cmp kind highlights
2021-12-10 13:13:03 -05:00
stnley
d1f682313f Add nvim-cmp kind highlights 2021-12-09 22:49:19 -05:00
D. Ben Knoble
d15d96928d
Merge pull request #270 from saviocmc/fix-neovim-v0.6.0-diagnostic-highlights 2021-12-08 10:26:50 -05:00
Sávio Carlos Martins Costa
75461a72b6
reorganize the definitions of neovim diagnostic hl groups
Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com>
2021-12-03 20:16:46 -03:00
Sávio Carlos Martins Costa
a503a351da add links to old 'LspDiagnosticsDefault*' hl groups
for backward compatibility with neovim v0.5.x
2021-12-03 16:52:27 -03:00
Sávio Carlos Martins Costa
cc5da58613 fix(neovim): diagnostic highlights in v0.6.0
Release notes:
https://github.com/neovim/neovim/releases/tag/v0.6.0

Breaking change commit:
a5bbb932f9

Updated documentation:
https://neovim.io/doc/user/diagnostic.html#diagnostic-highlights
2021-12-03 09:29:05 -03:00
Sávio Carlos Martins Costa
e5f0974656
Add option to set full special attributes support (#267)
* add option to set full special attributes support

This is useful to inform Dracula that the current UI has full support
for special attributes like underlines and undercurls, as by default it
assumes no terminal emulator have such support.

The default value falls back to the current behavior, assuming only
graphical interfaces have full support.

Fix #266

* fix grammar issues

Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com>

* add documentation for the new option

Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com>
2021-10-23 13:10:37 -04:00
D. Ben Knoble
86eb25b3dc fix code blocks in INSTALL.md
Closes https://github.com/dracula/vim/issues/262
2021-09-22 15:17:38 -04:00
Sly
d1864ac073 A better contrast for the tabline background 2021-09-04 12:27:13 -04:00
D. Ben Knoble
d1ff992bf6
Merge pull request #259 from dracula/imgbot
[ImgBot] Optimize images
2021-08-22 14:59:08 -04:00
ImgBotApp
53e9b07b74
[ImgBot] Optimize images
/screenshot.png -- 526.38kb -> 328.13kb (37.66%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-08-13 16:24:16 +00: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
D. Ben Knoble
869f70a760
change SpecialKey to DraculaPink (vim only) (#252)
Related: #192, #210, #248

Also #247 is about `NonText`, which needs investigating.

Issues: `:digraphs`, special keys in `:map` output, and certain parts of
`'listchars'` are "subtle" and hard to read (esp. w/ `cursorline` over
them). Also, vim uses `SpecialKey` for them (instead of `Whitespace` for
`'listchars'` and `SpecialKey` elsewhere, like NeoVim).

Fix: make `SpecialKey` more like special keys (the highlight in vimscript
for, e.g., `map <Space> :echo "hello"<CR>`). This has the side effect of
making digraphs more visible. It also makes certain `'listchars'` pink,
which may be annoying. But there is no way currently to separate the two
in vim.

Rationale: It matches with the special keys in maps. The fact that vim
uses it elsewhere may simply be "wrong" and need changed.

If you don't like it: well, as usual, you can use an autocommand to use
whatever colors you want (`:help dracula-customization`).
2021-06-04 14:30:24 -04:00
D. Ben Knoble
c0337ceef6
Merge pull request #251 from dracula/224-install-windows
update installation instructions for other OS
2021-05-19 17:50:01 -04:00
D. Ben Knoble
428e8d69b6 fix numbering 2021-05-19 12:37:44 -04:00
D. Ben Knoble
26147605e2 update installation instructions for other OS
closes #224
2021-05-19 12:36:14 -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
Mathew Robinson
d82b9198d4
fix(nvim): Add LspReference* groups (#241)
Adds LspReference groups so that the reference highlighting feature
works for neovim built-in LSP.

Co-authored-by: Mathew Robinson <mathew@chasinglogic.io>
2021-04-08 08:52:04 -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
Jeremy
e7154372ad
Fixing missing quotation mark (#222) 2020-12-23 09:39:31 -05:00
Thomas Vigouroux
ba00ac0432
fix(nvim): fix lsp hlgroups (#217) 2020-11-13 09:03:57 -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
D. Ben Knoble
261765405c
Merge pull request #215 from nanotee/lua-syntax-improvements
add highlights for tbastos/vim-lua
2020-11-02 09:20:34 -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
D. Ben Knoble
80d2667818
Merge pull request #213 from d7xdev/bugfix/E121_undef_var
Fix E121: Undefined variable `g:dracula_undercurl`
2020-10-19 17:17:03 -04:00