Giter VIP home page Giter VIP logo

darcula's Introduction

Darcula

darcula

๐Ÿ˜ˆ A Vim/Neovim color scheme reproduction of the official JetBrains IDE Darcula theme

terminal colors

See terminal directory

install

If you use a plugin manager, follow the traditional way.

For example with vim-plug add this in .vimrc/init.vim:

Plug 'doums/darcula'

Then run in vim:

:source $MYVIMRC
:PlugInstall

If you use vim package :h packages.

usage

Put this in your .vimrc/init.vim:

colorscheme darcula

To fully enjoy the color scheme and if your terminal supports Truecolor add

set termguicolors

If you use lightline:

let g:lightline = { 'colorscheme': 'darculaOriginal' }

NOTE: lightline already provides a "darcula" color scheme that I find simply bad. I strongly recommend to use mine instead (using darculaOriginal instead of darcula in the above config).

tree-sitter support

treesitter

support

VimScript API

darcula#palette

the colors palette of Darcula

darcula#Hi

helper function to create/modify highlight group

example

call darcula#Hi('rustLifetime', darcula#palette.macroName, darcula#palette.bg, 'italic')
call darcula#Hi('Comment', [ '#eeeeee', 255 ], darcula#palette.null, 'italic')
call darcula#Hi('BlackFg', [ '#000000', 16 ])

helper groups

Darcula provides some helper groups.
You can use them with hi link.

GitGutter

hi! link GitGutterAdd GitAddStripe
hi! link GitGutterChange GitChangeStripe
hi! link GitGutterDelete GitDeleteStripe
let g:gitgutter_sign_removed = 'โ–ถ'

Coc

hi! link CocErrorSign ErrorSign
hi! link CocWarningSign WarningSign
hi! link CocInfoSign InfoSign
hi! link CocHintSign HintSign
hi! link CocErrorFloat Pmenu
hi! link CocWarningFloat Pmenu
hi! link CocInfoFloat Pmenu
hi! link CocHintFloat Pmenu
hi! link CocHighlightText IdentifierUnderCaret
hi! link CocHighlightRead IdentifierUnderCaret
hi! link CocHighlightWrite IdentifierUnderCaretWrite
hi! link CocErrorHighlight CodeError
hi! link CocWarningHighlight CodeWarning
hi! link CocInfoHighlight CodeInfo
hi! link CocHintHighlight CodeHint

ALE

hi! link ALEError Error
hi! link ALEWarning CodeWarning
hi! link ALEInfo CodeInfo
hi! link ALEErrorSign ErrorSign
hi! link ALEWarningSign WarningSign
hi! link ALEInfoSign InfoSign

credits

JetBrains for the original and awsome Darcula color scheme!

license

Mozilla Public License 2.0

see :h group-name

darcula's People

Contributors

casonadams avatar doums avatar

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.