Commit graph

53 commits

Author SHA1 Message Date
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
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 P Sifford
8970a0f554 change typescriptreact syntax filename to tsx per change in yats.vim 2018-10-04 11:58:53 -04:00
Derek Sifford
15d0ff9f1a
adjust xml so that it more closely matches html (#104)
* adjust xml so that it more closely matches html

* formatting fixes
2018-09-20 13:25:07 -04:00
Derek P Sifford
72a0d0d584 fixes to css, sh, and tex syntaxes + adjust SpecialKey for nvim 2018-09-13 12:20:04 -04:00
David Ben Knoble
d329d61c17 Add markdownCodeBlock 2018-07-23 13:09:39 -04:00
Derek P Sifford
8d8af7abee Add syntax highlight adjustments for python 2018-07-07 14:30:33 -04:00
Derek P Sifford
918c67a6f7 small typescript spec-alignment adjustments 2018-06-19 20:52:04 -04:00
D. Ben Knoble
23e76f31ab
Merge pull request #86 from raulchen/fix_xml
Fix end tag in xml not being highlighted

This is a temporary fix, per comments on #86
2018-05-31 20:37:05 -04:00
Derek P Sifford
6824c59b57 fix typescriptreact syntax 2018-05-27 14:11:05 -04:00
Hao Chen
937449e548 use a standalone file for xml 2018-05-24 19:42:18 +08: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 P Sifford
c01ceb9a84 add ocaml fixes 2018-05-14 13:25:14 -04:00
Derek P Sifford
5a119d8060 fix typescriptAliasDeclaration highlighting 2018-05-12 12:27:45 -04:00
Derek P Sifford
5c8e3e82c3 fix runtime call in last commit 2018-05-08 23:26:40 -04:00