Commit graph

261 commits

Author SHA1 Message Date
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
d7xdev
fad0ba755c Make g:dracula_undercurl init shorter and safer
Reference: https://github.com/dracula/vim/pull/213#discussion_r507804384
2020-10-19 16:04:20 -04:00
d7xdev
2d428a704c Fix E121: Undefined variable g:dracula_undercurl
The variable `g:dracula_undercurl` is not properly defined
when underline attribute is disabled by user configuration:

    let g:dracula_underline = 0

The fix always defines missing `g:dracula_undercurl`,
but also disables it when underline is disabled.
2020-10-19 07:22:44 -04:00
Wang Shidong
b64b22affa
Update guide for installing dracula in spacevim (#204)
ref: https://github.com/dracula/vim/issues/190
2020-07-19 17:08:21 -04: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
IK
3916fb2daf
[update] airline's terminal section color (#196) 2020-06-22 13:11:29 -04:00
D. Ben Knoble
494dbe9d4e
Add spacevim instructions
see also #190
2020-05-19 17:46:37 -04:00
3uclidian
bb34458c42
Added Lua syntax file (#186)
* Added Lua syntax file

* Conforming to spec
2020-05-06 09:08:58 -04:00
D. Ben Knoble
3f1a8ffc73
Mention JS syntax in README
cf. #185
2020-05-04 16:41:34 -04:00
D. Ben Knoble
591c5b823a
add note about version/opt
Close #184
2020-05-02 16:14:28 -04:00
Zeno Rocha
115447b937
Update instructions for newbie users like me (#169)
* Remove duplicated instructions

* Move Vim's 8 instructions to the top and add more detailed steps

* Update INSTALL.md (from review)

* update install instructions for plugin managers

And reformat some markdown

Co-authored-by: D. Ben Knoble <ben.knoble@gmail.com>
Co-authored-by: D. Ben Knoble <ben.knoble+github@gmail.com>
2020-05-01 17:09:11 -04:00
D. Ben Knoble
043518d3a9 decouple LineNr and SignColumn from DraculaComment
Close #181
2020-04-22 18:46:40 -04:00
D. Ben Knoble
6a8cd0f825
update screenshot (#178) 2020-04-18 14:16:02 -04:00
Thomas Vigouroux
ed490ae071
feat(nvim): add lsp message hightlighting (#170)
Neovim now supports LSP protocol, and this commit adds highlighting for
it.
2020-03-03 07:54:47 -05:00
D. Ben Knoble
5a63362561
Merge pull request #165 from dracula/update-screenshot
update screenshot
2020-01-02 11:19:37 -05:00
D. Ben Knoble
3cd343798c update screenshot 2019-12-31 10:03:56 -05:00
Zeno Rocha
df624b570f
Update README.md 2019-12-23 00:48:12 -03: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
Zeno Rocha
a6f90e5691
Add files via upload 2019-12-19 16:16:13 -03:00
Zeno Rocha
fee5e01a5c
Create INSTALL.md 2019-12-19 10:47:51 -03:00
D. Ben Knoble
2a1f03757e
Merge pull request #159 from kazukazuinaina/update_lightline_inactive_status
update lightline's inactive status
2019-12-06 08:37:39 -05:00
D. Ben Knoble
72b3757943
Merge pull request #156 from andys8/patch-1
Improve inactive airline colors
2019-12-06 08:37:22 -05:00
Andy
0063ec6783 Improve inactive airline colors
See <https://github.com/vim-airline/vim-airline-themes/issues/191> for discussion
2019-12-05 13:44:20 +01:00
kazukazuinaina
2a990fc77e update lightline's inactive status 2019-12-03 11:40:43 +09: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
f6dd7c17f7
fix: adjust conceal character highlighting (#151)
see: https://github.com/dracula/vim/issues/144#issuecomment-538037764

closes #144
2019-10-06 14:54:09 -04:00