Giter Site home page Giter Site logo

vim's Introduction

Dracula for Vim

A dark theme for Vim.

Screenshot

Screenshot taken with the pangloss/vim-javascript syntax plugin for javascript.

Install

All instructions can be found at draculatheme.com/vim.

Team

This theme is maintained by the following person(s) and a bunch of awesome contributors.

Derek S. David Knoble
Derek S. David Knoble

Community

  • Twitter - Best for getting updates about themes and new stuff.
  • GitHub - Best for asking questions and discussing issues.
  • Discord - Best for hanging out with the community.

Dracula PRO

Dracula PRO

License

MIT License

vim's People

Contributors

andys8 avatar ashchan avatar bdielman avatar benknoble avatar blakewilliams avatar cousine avatar d7xdev avatar darookee avatar derekstride avatar dsifford avatar etorth avatar get-me-power avatar heinst avatar hzchirs avatar lucazz avatar nanotee avatar niclas-ahden avatar raulchen avatar rdavison avatar renatoagds avatar saviocmc avatar sdemura avatar siwatts avatar slybouhafs avatar speelbarrow avatar stnley avatar topecongiro avatar vigoux avatar yuys13 avatar zenorocha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vim's Issues

Support diffAdded/diffRemoved syntax group

Description

Hi, there. The color scheme is awesome.

However, I met a problem when using $git commit -v. This command will show the difference between codes after my editing. The lines added are highlight. But the lines deleted display with the same color as normal lines, such as the screenshot below.

The key for its color is diffRemoved which linked to Special. And the color of Special is #f8f8f2.

I try to change it in my vimrc temporarily:

hi link diffRemoved DiffDelete
hi link diffAdded DiffAdd

Hope for more professional change in repository. Thanks a lot!

Versions

  • plugin version: 6a5bf34 (hash)
  • vim: NVIM v0.2.1-dev
  • git: 2.14.2

Screenshots

image

Wrong ES2015 highlighting

Yay!

After installing pangloss/vim-javascript plugin I noticed that my ES2015 code isn't been properly highlighted, some keywords (export, import, from) remain white (see screenshot). I've tried other themes and these keywords are been highlighted as expected.

screenshot 2016-11-23 21 01 54

Erroneous message when enable Dracula for Vim

What happened

When I enable dracula for Vim, the following error message shows:

Error detected while processing function <SNR>14_h:
line    4:
E121: Undefined variable: idx
E116: Invalid arguments for function filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
E15: Invalid expression: filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
line    5:
E121: Undefined variable: l:attr_list
E116: Invalid arguments for function len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
E15: Invalid expression: len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
line   15:
E121: Undefined variable: l:attrs
E15: Invalid expression: [ 'highlight', a:scope, 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1], 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1], 'gui=' . l:attrs, 'cterm=' . l:attrs, 'guisp=' . l:special[0],]
line   23:
E121: Undefined variable: l:hl_string
E116: Invalid arguments for function join(l:hl_string, ' ')
E15: Invalid expression: join(l:hl_string, ' ')
line    4:
E121: Undefined variable: idx
E116: Invalid arguments for function filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
E15: Invalid expression: filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
line    5:
E121: Undefined variable: l:attr_list
E116: Invalid arguments for function len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
E15: Invalid expression: len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
line   15:
E121: Undefined variable: l:attrs
E15: Invalid expression: [ 'highlight', a:scope, 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1], 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1], 'gui=' . l:attrs, 'cterm=' . l:attrs, 'guisp=' . l:special[0],]
line   23:
E121: Undefined variable: l:hl_string
E116: Invalid arguments for function join(l:hl_string, ' ')
E15: Invalid expression: join(l:hl_string, ' ')
line    4:
E121: Undefined variable: idx
E116: Invalid arguments for function filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
E15: Invalid expression: filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
line    5:
E121: Undefined variable: l:attr_list
E116: Invalid arguments for function len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
E15: Invalid expression: len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
line   15:
E121: Undefined variable: l:attrs
E15: Invalid expression: [ 'highlight', a:scope, 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1], 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1], 'gui=' . l:attrs, 'cterm=' . l:attrs, 'guisp=' . l:special[0],]
line   23:
E121: Undefined variable: l:hl_string
E116: Invalid arguments for function join(l:hl_string, ' ')
E15: Invalid expression: join(l:hl_string, ' ')
line    4:
E121: Undefined variable: idx
E116: Invalid arguments for function filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
E15: Invalid expression: filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
line    5:
E121: Undefined variable: l:attr_list
E116: Invalid arguments for function len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
E15: Invalid expression: len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
line   15:
E121: Undefined variable: l:attrs
E15: Invalid expression: [ 'highlight', a:scope, 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1], 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1], 'gui=' . l:attrs, 'cterm=' . l:attrs, 'guisp=' . l:special[0],]
line   23:
E121: Undefined variable: l:hl_string
E116: Invalid arguments for function join(l:hl_string, ' ')
E15: Invalid expression: join(l:hl_string, ' ')
line    4:
E121: Undefined variable: idx
E116: Invalid arguments for function filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
E15: Invalid expression: filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
line    5:
E121: Undefined variable: l:attr_list
E116: Invalid arguments for function len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
E15: Invalid expression: len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
line   15:
E121: Undefined variable: l:attrs
E15: Invalid expression: [ 'highlight', a:scope, 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1], 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1], 'gui=' . l:attrs, 'cterm=' . l:attrs, 'guisp=' . l:special[0],]
line   23:
E121: Undefined variable: l:hl_string
E116: Invalid arguments for function join(l:hl_string, ' ')
E15: Invalid expression: join(l:hl_string, ' ')
line    4:
E121: Undefined variable: idx
E116: Invalid arguments for function filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
E15: Invalid expression: filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
line    5:
E121: Undefined variable: l:attr_list
E116: Invalid arguments for function len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
E15: Invalid expression: len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
line   15:
E121: Undefined variable: l:attrs
E15: Invalid expression: [ 'highlight', a:scope, 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1], 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1], 'gui=' . l:attrs, 'cterm=' . l:attrs, 'guisp=' . l:special[0],]
line   23:
E121: Undefined variable: l:hl_string
E116: Invalid arguments for function join(l:hl_string, ' ')
E15: Invalid expression: join(l:hl_string, ' ')
line    4:
E121: Undefined variable: idx
E116: Invalid arguments for function filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
E15: Invalid expression: filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
line    5:
E121: Undefined variable: l:attr_list
E116: Invalid arguments for function len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
E15: Invalid expression: len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
line   15:
E121: Undefined variable: l:attrs
E15: Invalid expression: [ 'highlight', a:scope, 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1], 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1], 'gui=' . l:attrs, 'cterm=' . l:attrs, 'guisp=' . l:special[0],]
line   23:
E121: Undefined variable: l:hl_string
E116: Invalid arguments for function join(l:hl_string, ' ')
E15: Invalid expression: join(l:hl_string, ' ')
line    4:
E121: Undefined variable: idx
E116: Invalid arguments for function filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
E15: Invalid expression: filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
line    5:
E121: Undefined variable: l:attr_list
E116: Invalid arguments for function len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
E15: Invalid expression: len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
line   15:
E121: Undefined variable: l:attrs
E15: Invalid expression: [ 'highlight', a:scope, 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1], 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1], 'gui=' . l:attrs, 'cterm=' . l:attrs, 'guisp=' . l:special[0],]
line   23:
E121: Undefined variable: l:hl_string
E116: Invalid arguments for function join(l:hl_string, ' ')
E15: Invalid expression: join(l:hl_string, ' ')
line    4:
E121: Undefined variable: idx
E116: Invalid arguments for function filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
E15: Invalid expression: filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
line    5:
E121: Undefined variable: l:attr_list
E116: Invalid arguments for function len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
E15: Invalid expression: len(l:attr_list) > 0 ? join(l:attr_list, ',') : 'NONE'
line   15:
E121: Undefined variable: l:attrs
E15: Invalid expression: [ 'highlight', a:scope, 'guifg=' . l:fg[0], 'ctermfg=' . l:fg[1], 'guibg=' . l:bg[0], 'ctermbg=' . l:bg[1], 'gui=' . l:attrs, 'cterm=' . l:attrs, 'guisp=' . l:special[0],]
line   23:
E121: Undefined variable: l:hl_string
E116: Invalid arguments for function join(l:hl_string, ' ')
E15: Invalid expression: join(l:hl_string, ' ')
line    4:
E121: Undefined variable: idx
E116: Invalid arguments for function filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
E15: Invalid expression: filter(get(a:, 2, ['NONE']), {idx, val -> type(val) == 1})
...

... and a lot more.

I am not sure if this relates to problems about my own configuration, or it is a bug/incompatibility.

What I expected to happen

Screenshot

Machine Info

  • Vim type (vim/gvim/neovim): vim
  • Vim version: 7.4
  • OS: Ubuntu 16.04 (both on actual machine and on WSL)
  • Terminal/Terminal Emulator/VTE:
  • TERM environment variable: xterm-256color

Additional Info

Match removes syntax colors

Calling the function for MatchParen when using the plugin Matchup removes all syntax colors in XML like markup:

For example, React code:

screen shot 2018-06-11 at 11 22 51 am

Using this seems a bit better:
call s:h('MatchParen', s:none, s:subtle, [s:attrs.underline])

screen shot 2018-06-11 at 11 23 31 am

  • mvim
  • 8.1
  • OS: High Sierra
  • Terminal/Terminal Emulator/VTE: n/a
  • TERM environment variable: n/a

italics still shown even after disabling

Running vim in a terminal?

No, Gvim

Running vim with tmux?

No, Gvim

Having issues with font styles (italic, bold, underline)?

Yes, disabled all.

What happened

italics still shown even after disabling with let g:dracula_italic = 0

What I expected to happen

italics are disabled everywhere

Screenshot

image

Machine Info

  • Vim type (vim/gvim/neovim):
  • Vim version: 8.0 (included patches: 1-1626)
  • OS: Windows 10
  • Terminal/Terminal Emulator/VTE: None
  • TERM environment variable: since gui not putting adding it here

Additional Info

"source ~/.vimrc" throws errors

Hi!

I am finding that upon re-sourcing the vimrc file, a bunch of errors get thrown.

This happens in and out of tmux inside of iTerm2.

image

I've also found that my background color broke, but I see that there is an issue for that already. Anyways, thanks for all of your work on this package, I'm a long-time dracula user and am glad improvements are still going on :).

Thanks!

[neovim] Background color not displaying in neovim

When using the dracula theme in neovim, the terminal background color appears to override the theme background color. This is illustrated below, with urxvt on the left and st on the right, showing that this issue is independent of the terminal emulator used.

dracula-nvim

Here is my init.vim (note that I used vim-plug to install the dracula theme):

call plug#begin()
        Plug 'dracula/vim'
        Plug 'vim-airline/vim-airline'
call plug#end()

colorscheme dracula

Making background transparent

What happened

The background of my vim is non-transparent.

What I expected to happen

I was expecting to see the background behind my terminal, since I have compton running.

Screenshot

jun10-14 58 59

Screenshot

Machine Info

  • Vim type (vim/gvim/neovim): neovim
  • Vim version:
  • OS:
    Linux daedalus 4.16.13-1-ARCH #1 SMP PREEMPT Thu May 31 23:29:29 UTC 2018 x86_64 GNU/Linux
  • Terminal/Terminal Emulator/VTE: Termite
  • TERM environment variable: screen-256color

Additional Info

The output of tmux info can be found here.

vim background color does not change when installing via colors directory

If you're reporting an UI issue, make sure you take a screenshot that shows the actual bug.

I have tried installing the dracula theme into to the colors directory and then setting colorscheme to dracula in my .vimrc. Though the colors change for the fonts (i.e. the foreground colors), the background color stays the same. See for example the screenshot. (The background is the standard background for the terminal in Ubuntu). I have typically used the onedark vim theme (https://github.com/joshdick/onedark.vim) which doesn't seem to have this problem (though installing the vim theme there means adding an additional file in the autoload directory). Strangely, I tried this out on my macbook and the same problem happens.

I'm attaching pictures of both the onedark theme and dracula theme. It would be nice to be able to install this without a plugin.

dracula
Above: Dracula without right background

onedark
Above: Onedark

Repository name is misleading

It would be more appropriate to be something like vim-dracula.

Actual name seems like it is a vim clone from dracula user.

When using vim plugin managers like vim-plug or vundle, cloned repo has the name "vim", which is something really confusing to see.

This naming convention would affect other dracula repos, so it seems like a lot of work. I think it applies to the other repos too anyway.

Just my 2 cents...

Error is not distinguishable.

I found the dracula's error color is not very distinguishable:
image

In fact, b // asdf does not look like an error but a keyword!

On the other hand, default theme and desert clearly marked it:
image
image

Currently I put the workaround hi! DraculaError gui=inverse or hi! DraculaError gui=undercurl
in my vimrc and I get
image
image

distribute with Vim?

there is an issue open in the vim repository, to distribute more colorschemes with Vim. Would you kindly give your permission to distribute this colorscheme with Vim?

comments hard to read when highlighted

What happened

comments are very hard to read when highlighted. This started happening after I upgraded the plugin (I did that a few weeks back so I can't tell you from which rev to which).

What I expected to happen

Screenshot

selection_036

Machine Info

  • Vim type (vim/gvim/neovim): vim
  • Vim version: 8.0
  • OS: Linux cube219 4.4.0-124-generic #148~14.04.1-Ubuntu SMP Thu May 3 07:26:53 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  • Terminal/Terminal Emulator/VTE: tmux 2.0
  • TERM environment variable: screen-256color

Additional Info

$ tmux info
started Wed Jun  6 15:32:19 2018
socket path /tmp/user/1001/tmux-1001/default
debug level 0
protocol version 8

Terminal 0: xterm [references=1, flags=0x0]:
   1: acsc: (string) ``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~
   0: AX: (flag) true
   2: bel: (string) \007
   3: blink: (string) \033[5m
   4: bold: (string) \033[1m
   5: civis: (string) \033[?25l
   6: clear: (string) \033[H\033[2J
   7: cnorm: (string) \033[?12l\033[?25h
   8: colors: (number) 8
   9: Cr: (string) \033]112\007
  10: Cs: (string) \033]12;%p1%s\007
  11: csr: (string) \033[%i%p1%d;%p2%dr
  12: cub: (string) \033[%p1%dD
  13: cub1: (string) \010
  14: cud: (string) \033[%p1%dB
  15: cud1: (string) \012
  16: cuf: (string) \033[%p1%dC
  17: cuf1: (string) \033[C
  18: cup: (string) \033[%i%p1%d;%p2%dH
  19: cuu: (string) \033[%p1%dA
  20: cuu1: (string) \033[A
  21: cvvis: (string) \033[?12;25h
  22: dch: (string) \033[%p1%dP
  23: dch1: (string) \033[P
  24: dim: [missing]
  25: dl: (string) \033[%p1%dM
  26: dl1: (string) \033[M
  27: E3: [missing]
  28: ech: (string) \033[%p1%dX
  29: el: (string) \033[K
  30: el1: (string) \033[1K
  31: enacs: [missing]
  32: fsl: (string) \007
  33: home: (string) \033[H
  34: hpa: (string) \033[%i%p1%dG
  35: ich: (string) \033[%p1%d@
  36: ich1: [missing]
  37: il: (string) \033[%p1%dL
  38: il1: (string) \033[L
  39: invis: (string) \033[8m
  40: is1: [missing]
  41: is2: (string) \033[!p\033[?3;4l\033[4l\033>
  42: is3: [missing]
  43: kcbt: (string) \033[Z
  44: kcub1: (string) \033OD
  45: kcud1: (string) \033OB
  46: kcuf1: (string) \033OC
  47: kcuu1: (string) \033OA
  48: kDC: (string) \033[3;2~
  49: kDC3: (string) \033[3;3~
  50: kDC4: (string) \033[3;4~
  51: kDC5: (string) \033[3;5~
  52: kDC6: (string) \033[3;6~
  53: kDC7: (string) \033[3;7~
  54: kdch1: (string) \033[3~
  55: kDN: (string) \033[1;2B
  56: kDN3: (string) \033[1;3B
  57: kDN4: (string) \033[1;4B
  58: kDN5: (string) \033[1;5B
  59: kDN6: (string) \033[1;6B
  60: kDN7: (string) \033[1;7B
  61: kend: (string) \033OF
  62: kEND: (string) \033[1;2F
  63: kEND3: (string) \033[1;3F
  64: kEND4: (string) \033[1;4F
  65: kEND5: (string) \033[1;5F
  66: kEND6: (string) \033[1;6F
  67: kEND7: (string) \033[1;7F
  68: kf1: (string) \033OP
  69: kf10: (string) \033[21~
  70: kf11: (string) \033[23~
  71: kf12: (string) \033[24~
  72: kf13: (string) \033[1;2P
  73: kf14: (string) \033[1;2Q
  74: kf15: (string) \033[1;2R
  75: kf16: (string) \033[1;2S
  76: kf17: (string) \033[15;2~
  77: kf18: (string) \033[17;2~
  78: kf19: (string) \033[18;2~
  79: kf2: (string) \033OQ
  80: kf20: (string) \033[19;2~
  81: kf21: (string) \033[20;2~
  82: kf22: (string) \033[21;2~
  83: kf23: (string) \033[23;2~
  84: kf24: (string) \033[24;2~
  85: kf25: (string) \033[1;5P
  86: kf26: (string) \033[1;5Q
  87: kf27: (string) \033[1;5R
  88: kf28: (string) \033[1;5S
  89: kf29: (string) \033[15;5~
  90: kf3: (string) \033OR
  91: kf30: (string) \033[17;5~
  92: kf31: (string) \033[18;5~
  93: kf32: (string) \033[19;5~
  94: kf33: (string) \033[20;5~
  95: kf34: (string) \033[21;5~
  96: kf35: (string) \033[23;5~
  97: kf36: (string) \033[24;5~
  98: kf37: (string) \033[1;6P
  99: kf38: (string) \033[1;6Q
 100: kf39: (string) \033[1;6R
 101: kf4: (string) \033OS
 102: kf40: (string) \033[1;6S
 103: kf41: (string) \033[15;6~
 104: kf42: (string) \033[17;6~
 105: kf43: (string) \033[18;6~
 106: kf44: (string) \033[19;6~
 107: kf45: (string) \033[20;6~
 108: kf46: (string) \033[21;6~
 109: kf47: (string) \033[23;6~
 110: kf48: (string) \033[24;6~
 111: kf49: (string) \033[1;3P
 112: kf5: (string) \033[15~
 113: kf50: (string) \033[1;3Q
 114: kf51: (string) \033[1;3R
 115: kf52: (string) \033[1;3S
 116: kf53: (string) \033[15;3~
 117: kf54: (string) \033[17;3~
 118: kf55: (string) \033[18;3~
 119: kf56: (string) \033[19;3~
 120: kf57: (string) \033[20;3~
 121: kf58: (string) \033[21;3~
 122: kf59: (string) \033[23;3~
 123: kf6: (string) \033[17~
 124: kf60: (string) \033[24;3~
 125: kf61: (string) \033[1;4P
 126: kf62: (string) \033[1;4Q
 127: kf63: (string) \033[1;4R
 128: kf7: (string) \033[18~
 129: kf8: (string) \033[19~
 130: kf9: (string) \033[20~
 131: kHOM: (string) \033[1;2H
 132: kHOM3: (string) \033[1;3H
 133: kHOM4: (string) \033[1;4H
 134: kHOM5: (string) \033[1;5H
 135: kHOM6: (string) \033[1;6H
 136: kHOM7: (string) \033[1;7H
 137: khome: (string) \033OH
 138: kIC: (string) \033[2;2~
 139: kIC3: (string) \033[2;3~
 140: kIC4: (string) \033[2;4~
 141: kIC5: (string) \033[2;5~
 142: kIC6: (string) \033[2;6~
 143: kIC7: (string) \033[2;7~
 144: kich1: (string) \033[2~
 145: kLFT: (string) \033[1;2D
 146: kLFT3: (string) \033[1;3D
 147: kLFT4: (string) \033[1;4D
 148: kLFT5: (string) \033[1;5D
 149: kLFT6: (string) \033[1;6D
 150: kLFT7: (string) \033[1;7D
 151: kmous: (string) \033[M
 152: knp: (string) \033[6~
 153: kNXT: (string) \033[6;2~
 154: kNXT3: (string) \033[6;3~
 155: kNXT4: (string) \033[6;4~
 156: kNXT5: (string) \033[6;5~
 157: kNXT6: (string) \033[6;6~
 158: kNXT7: (string) \033[6;7~
 159: kpp: (string) \033[5~
 160: kPRV: (string) \033[5;2~
 161: kPRV3: (string) \033[5;3~
 162: kPRV4: (string) \033[5;4~
 163: kPRV5: (string) \033[5;5~
 164: kPRV6: (string) \033[5;6~
 165: kPRV7: (string) \033[5;7~
 166: kRIT: (string) \033[1;2C
 167: kRIT3: (string) \033[1;3C
 168: kRIT4: (string) \033[1;4C
 169: kRIT5: (string) \033[1;5C
 170: kRIT6: (string) \033[1;6C
 171: kRIT7: (string) \033[1;7C
 172: kUP: (string) \033[1;2A
 173: kUP3: (string) \033[1;3A
 174: kUP4: (string) \033[1;4A
 175: kUP5: (string) \033[1;5A
 176: kUP6: (string) \033[1;6A
 177: kUP7: (string) \033[1;7A
 178: Ms: (string) \033]52;%p1%s;%p2%s\007
 179: op: (string) \033[39;49m
 180: rev: (string) \033[7m
 181: ri: (string) \033M
 182: rmacs: (string) \033(B
 183: rmcup: (string) \033[?1049l
 184: rmkx: (string) \033[?1l\033>
 185: Se: (string) \033[2 q
 186: setab: (string) \033[4%p1%dm
 187: setaf: (string) \033[3%p1%dm
 188: sgr0: (string) \033(B\033[m
 189: sitm: [missing]
 190: smacs: (string) \033(0
 191: smcup: (string) \033[?1049h
 192: smkx: (string) \033[?1h\033=
 193: smso: (string) \033[7m
 194: smul: (string) \033[4m
 195: Ss: (string) \033[%p1%d q
 196: tsl: (string) \033]0;
 197: vpa: (string) \033[%i%p1%dd
 198: xenl: (flag) true
 199: XT: (flag) true

Turning off highlighting

What happened

This is not a bug but more a question and reach out for assistance.

I recently update this plugin and am getting a lot of highlighting which I'd like to disable if I can.

What I expected to happen

This may be what is expected to happen but I would like to disable or turn off.

Screenshot

screen shot 2018-05-16 at 12 50 02 pm

Machine Info

  • Vim type (vim/gvim/neovim): vim
  • Vim version: 8.0.180
  • OS: macOS Sierra
  • Terminal/Terminal Emulator/VTE: iTerm2
  • TERM environment variable: xterm-256color

Neovim update

What happened

After updating the plugin two problems have cropped up.

Problem 1

Before the update, the colors of my comments looked like the one in the following screenshot:

screenshot from 2018-03-29 21-01-30

Now they've turned blue:

screenshot from 2018-03-29 21-00-37

Problem 2

When exiting Goyo I get the following error messages:

screenshot from 2018-03-29 21-01-37

I'm using the following code related to Goyo:

function! RelativeNumberToggle()                                                                                                                                                                               
   :augroup relativenumbertoggle                                                                                                                                                                              
   :  autocmd!  
   :  autocmd BufEnter,FocusGained,InsertLeave * set relativenumber        
   :  autocmd BufLeave,FocusLost,InsertEnter   * set norelativenumber              
   :augroup END                                                                                                                                                                                               
 endfunction 

 function! s:goyo_enter()                                                                                                                                                                                       
   Limelight                                                                                                                                                                                                  
     set norelativenumber                                                                                                                                                                                       
     set nonumber                                                                                                                                                                                               
     au! relativenumbertoggle                                                                                                                                                                                   
 endfunction                                                                                                                                                                                                    
                                                                                                                                                                                                                
 function! s:goyo_leave()                                                                                                                                                                                              
   Limelight!                                            
   set relativenumber                     
   set number                                                                                                                                                                                                 
   :call RelativeNumberToggle()                                                                                                                                                                               
endfunction                                                                                                                                                                                                    
                                                                                                                                                                                                          
autocmd! User GoyoEnter nested call <SID>goyo_enter()   
autocmd! User GoyoLeave nested call <SID>goyo_leave()    

Machine Info

  • neovim:
  • NVIM v0.2.3-dev:
  • Ubuntu 17.10:
  • Terminal:

I would like to make an option to use the ANSI colors

I checked out the theme and noticed that it uses 256 color approximations. I would like to make an option to use precise colors provided from the 16 ANSI colors. The solarized vim theme does this, and it works really great.

I have made a PR dracula/iterm#2 on the iTerm theme, so that it includes all of the dracula colors within the 16 ANSI colors. If that gets merged I will proceed with improving the vim theme with an option of relying on the 16 ANSI colors.

How does that sound?

highlight clear messed up the theme

highlight clear means

Reset all highlighting to the defaults. Removes all highlighting for groups added by the user! Uses the current value of 'background' to decide which default colors to use.

It is really weird has this line in the end. it just messed up the theme.

Ruby Class name, not getting highlighted

Class name is not getting highlighted properly for ruby language. Kindly see the details in screenshot. Is there something that needs to be done? Let me know if you need more info about anything.

Cheers,
Ashish

macvim class name highlighting issue ruby

Airline theme not working

The airline Dracula theme seems to have stopped working after an update. If I do :AirlineTheme dracula it is autocompleted but errors with "The specified theme cannot be found.

Strange errors

What happened

Whenever I try to use the theme, I get a bunch of error messages.

What I expected to happen

No error messages.

Screenshot

image

Machine Info

  • Vim type (vim/gvim/neovim): vim
  • Vim version: 8.1
  • OS: Windows 10 version 10.0.17134 Build 17134
  • Terminal/Terminal Emulator/VTE: not quite sure what this is, I'm just running vim from cmd
  • TERM environment variable: also not sure what this is

Additional Info

Installed using vim-plug

Error caused by commit 07a52e3f

What happened

Error detected while processing function <SNR>45_on_window_changed[17]..<SNR>45_init[20]..<SNR
>45_on_colorscheme_changed[10]..airline#load_theme[15]..airline#extensions#load_theme[1]..airl
ine#util#exec_funcrefs[2]..airline#extensions#tabline#load_theme[21]..airline#highlighter#exec
:
line   25:
E254: Cannot allocate color 0
Error detected while processing function <SNR>45_on_window_changed[17]..<SNR>45_init[20]..<SNR
>45_on_colorscheme_changed[10]..airline#load_theme[15]..airline#extensions#load_theme[1]..airl
ine#util#exec_funcrefs[2]..airline#extensions#tabline#load_theme[40]..airline#highlighter#exec
:
line   25:
E254: Cannot allocate color 0
Press ENTER or type command to continue

What I expected to happen

No error

Machine Info

  • Vim type (vim/gvim/neovim):vim
  • Vim version:8.0.1766
  • OS:Linux
  • Terminal/Terminal Emulator/VTE:gnome
  • TERM environment variable:xterm-256color

Background becomes grey

What happened

This might be a silly question and it probably is my configuration, but after certain update of dracula, the background becomes grey, and I thought it's not expected.

The screenshot attached is also my .vimrc.

What I expected to happen

Screenshot

image

Machine Info

  • Vim type (vim/gvim/neovim): vim
  • Vim version: 8.1
  • OS: macOS, FreeBSD, Ubuntu
  • Terminal/Terminal Emulator/VTE: Multiple
  • TERM environment variable: xterm-256color

Additional Info

Visual Mode color obscures comments

Hi,

Loving the theme, and this isn't the worst issue in the world, but it seems that the Visual Mode background color obscures comments. Below, the second line is a comment which reads, "Now you don't":

screen shot 2017-07-10 at 7 14 07 pm

This is all I've got in my .vimrc relating to theming/UI:

screen shot 2017-07-10 at 7 16 21 pm

Note that I'm running vim inside Terminal.app with the Dracula Terminal.app profile.

Anyone else seeing this? If not, any suggestions?

Thanks

Bash on Ubuntu on Windows support

I Haven't been able to get this to work on Windows 10 new "Bash on Ubuntu on Windows". Was hoping it would work normal, instead the text all turns a bright blue color. All the default color schemes work (eg blue, desert, etc.)

image

Permission to come aboard

Hi there,

I'm the maintainer of the VSCode Dracula implementation. I'm currently finding myself using actual Vim rather than pseudo-vim a lot more now and, as a consequence of that, I'm now using this theme a whole lot more than usual.

I'm wondering if you guys would be willing to add me in as a maintainer here as well?

I'm pretty anal when it comes to syntax and highlight groups, so if you all don't really feel like having another person come in and add a bunch of scopes normalize the project as defined here then that's okay too. I'll create a fork and target neovim.

Thanks for considering.

CC @zenorocha

colorscheme in use different than expected value

What happened

I have an issue with the colorscheme and syntax highlighting where the values represented are different than expected. For examples PHP class names are rendered as DraculaFg but defined as DraculaCyan.

What I expected to happen

Below are screenshots comparing Dracula in vim to Dracula in Sublime Text. Reading through dracula.vim it looks like the values are set to match what is represented in the Sublime Text window.

NB: I’m fairly new to using vim full time so it is entirely possible I’m missing something obvious. Also if this isn’t the right forum for this kind of question lmk.

Screenshot

image

image

Machine Info

  • Vim type (vim/gvim/neovim): vim
  • Vim version: version 8.0.1600
  • OS: Darwin localghost.local 17.4.0 Darwin Kernel Version 17.4.0: Sun Dec 17 09:19:54 PST 2017; root:xnu-4570.41.2~1/RELEASE_X86_64 x86_64
  • Terminal/Terminal Emulator/VTE: iTerm2 Build 3.1.6
  • TERM environment variable: xterm-256color

Additional Info

  • termguicolors is set
  • :echo &t_Co gives me 256
  • COLORTERM is set to truecolor

Undercurl should not be forced by color scheme in errors/warnings

What happened

Using w0rp/ale to display errors/warnings I see the indicator on left gutter has an unexpected undercurl.

What I expected to happen

Left gutter indicator should not be undercurled.

Setting undercurl seems like is something ale (or equivalent) has to do, not the colorscheme.

If I change:

call s:h('DraculaError', s:red, s:none, [s:attrs.undercurl], s:red)

to:

call s:h('DraculaError', s:red, s:none, [], s:red)

I get what I think is correct.

Screenshot

dracula-ale

Top example is the current and in my opinion wrong behavior. Bottom is what I get with the suggested change.

Machine Info

  • Vim type (vim/gvim/neovim): gvim
  • Vim version: 8.0.1815
  • OS: Linux xxx 4.16.8-1-ARCH #1 SMP PREEMPT Wed May 9 11:25:02 UTC 2018 x86_64 GNU/Linux

Why is CursorLine not underlined in cterms?

Dracula defines

hi CursorLine cterm=NONE

and of cours, term=underline is a default.

Why then does CursorLine not use cterm=underline ? I find it easier to see than the dark background change currently affected.

temp fix:

autocmd ColorScheme dracula hi CursorLine cterm=underline

Files in after get loaded even when not using Dracula

What happened

Start vim as follows:

vim -u <(cat <<DOG
set nocp
filetype plugin on
syntax enable
set bg=dark
" Replace the below lines with whatever you need to get Dracula on the runtimepath
runtime bundle/pathogen/autoload/pathogen.vim
execute pathogen#infect()
DOG                                          
) a_file.vim

Once inside, do

:verbose hi vimOption

Note that it is linked to a Dracula group.

But :colorscheme reports default.

What I expected to happen

Without enabling dracula, I get vimOption xxx links to PreProc

When my colorscheme is not dracula, highlight groups should not be linked to Dracula groups.

Screenshot

Machine Info

  • Vim type (vim/gvim/neovim): vim
  • Vim version: 8.0.1800
  • OS: OS X 10.11.6
  • Terminal/Terminal Emulator/VTE: Terminal.app
  • TERM environment variable: xterm-256color

Additional Info

Part of the fix will be not using after directories, as they always get loaded by vim when on the runtimepath. We want to only be included when doing :colorscheme dracula.

Using this color scheme set my vim to grayscale

I installed by copying dracula.vim into my /.vim/color folder.

After running :colo dracula my vim was set to grayscale.

Not sure what's going on here, the only other plugin I have that I could see interfering with this color scheme is vim-go.

background color break after update

Hi, I'm using vim in iTerm on macOS. My iterm theme is dracula as well. It works well for years.
I update dracula today and my iterm color is so werid,and the background image disappear, what happend?

BEFORE I UPDATE

that

AFTER I UPDATE

this

Word block matches make keywords disappear

What happened

This plugin https://github.com/andymass/vim-matchup highlights matches, highlighting matches in the current theme version color is set to none for text color, if you jump to a method definition like def...end or if...endif these keywords will get lost in the background since both will have the same color.

What I expected to happen

correctly highlight matches.

commenting this line on line 321 sort of fixes it.

call s:h('MatchParen', s:none, s:pink, [s:attrs.underline])

but the color doesn't match the rest of the color scheme.

Screenshot

screen shot 2018-04-02 at 4 57 13 pm

commenting it:
screen shot 2018-04-02 at 4 59 24 pm

mvim 8.0, OSX.

Feature request: background color for Pmenu (popup menu)

In terminal Vim 8, Pmenu background is the same as the editor background, making it hard to read:

screenshot from 2016-09-15 11-45-56

I added the following to my .vimrc to make it more readable:

color dracula
highlight Pmenu ctermbg=238 gui=bold

Which looks like:

screenshot from 2016-09-15 11-46-24

It'd be great to have something implemented officially, ideally using a colour closer to Dracula.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.