Commit graph

253 commits

Author SHA1 Message Date
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
D. Ben Knoble
86712dc2de Make CursorColumn more like cursorline (#148)
close #147
2019-07-10 14:35:33 -04:00
David Ben Knoble
42a51ef8d9 Minor update to install instructions
For packages users
2019-06-11 14:28:10 -04:00
D. Ben Knoble
a4f6b0abe6 Document solutions to errors caused by 'rtp' (#142) 2019-06-02 17:52:03 -04:00
Derek Sifford
f90b5825db remove lambda from helper function so as to not break support for older vims 2019-05-28 19:08:04 -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