GithubHelp home page GithubHelp logo

sjl / badwolf Goto Github PK

View Code? Open in Web Editor NEW
1.2K 40.0 225.0 94 KB

A Vim color scheme.

Home Page: http://stevelosh.com/projects/badwolf/

License: MIT License

Shell 0.22% Emacs Lisp 10.47% Vim Script 89.31%

badwolf's Introduction

Bad Wolf

A color scheme for Vim, pieced together by Steve Losh.

There's still quite a lot of room for improvement (particularly in HTML) so feel free to send me ideas through the issue tracker or pull requests.

It's MIT/X11 licensed, so feel free to hack it apart if you like.

If you're going to send a pull request that you want me to merge, please post a comment in it with before/after screenshots!

Screenshots

These screenshots may be out of date, but they'll at least give you a taste of what you're in for.

Python

Screenshot

HTML (Django Templates)

Screenshot

Clojure

Screenshot

Markdown

Screenshot

Configuration

There are a few settings you can use to tweak how Bad Wolf looks.

g:badwolf_darkgutter

Determines whether the line number, sign column, and fold column are rendered darker than the normal background, or the same.

" Make the gutters darker than the background.
let g:badwolf_darkgutter = 1

Default: 0 (off, gutters are the same as the background)

g:badwolf_tabline

Determines how light to render the background of the tab line (the line at the top of the screen containing the various tabs (only in console mode)).

Can be set to 0, 1, 2, or 3.

" Make the tab line darker than the background.
let g:badwolf_tabline = 0

" Make the tab line the same color as the background.
let g:badwolf_tabline = 1

" Make the tab line lighter than the background.
let g:badwolf_tabline = 2

" Make the tab line much lighter than the background.
let g:badwolf_tabline = 3

Default: 1 (same color as the background)

g:badwolf_html_link_underline

Determines whether text inside a tags in HTML files will be underlined.

" Turn off HTML link underlining
let g:badwolf_html_link_underline = 0

Default: 1 (on)

g:badwolf_css_props_highlight

Determines whether CSS properties should be highlighted.

" Turn on CSS properties highlighting
let g:badwolf_css_props_highlight = 1

Default: 0 (off)

Contributing

I'd love pull requests, but won't necessarily merge all of them. Color schemes are a very subjective topic -- we don't all have the same taste.

If you're going to send a pull request that you want me to merge, please post a comment in it with before/after screenshots!

badwolf's People

Contributors

8633brown avatar dciccale avatar gglanzani avatar jbernard avatar lukaszklis avatar pelletier avatar pferor avatar sjl avatar sodoku 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

badwolf's Issues

Doxygen highlighting

Currently, special doxygen comments are highlighted using the default white color. This theme should respect the let g:load_doxygen_syntax=1 setting when users have it set

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?

CursorLineNr

You need to hi CursorLineNr so that it doesn't persist from other colorschemes and is set appropriately for this colorscheme.

use g:colors_name instead of colors_name

I was debugging an issue with vim startup colors and noticed that badwolf doesn't set the colors_name properly. Which essentially means that :colorscheme will always return default.

the proper variable to use (according to vim documentation) is g:colors_name and not colors_name as it is currently.

C Support

I would love to see better C support. ๐Ÿ”จ

iTerm Colors

It would be great If you share your iTerm color scheme somewhere.

Open source?

I couldn't find a mention of a license. Thanks

Changes by Neovim 0.10

I use badwolf together with vimwiki. So far the links were displayed blue, now they are not highlighted anymore but look like regular text. Since this happened about the time Neovim version 0.10.0 was released with some changed related to colorshemes, I suspect that is the reason, or am I wrong?
Could you update badwolf to work with neovim 0.10 again? Or could you hint me toward how I could find a fix myself?

I really like badwolf, thank you for developing it!

visual mode selection hard to see

Really love the theme, but visual mode selection is barely visible on my external monitors (it appears fine on my main macbook monitor). Any chance the contrast between it or the background color can be moved into a variable/setting or color? For example g:selection_contrast or g:selection_color.

Arbitrary highlighting

Hi,
The colorscheme looks great, except I have some strange problem where some parts of the code (certain keywords and strings) have a light highlighting. See the attached screenshot, a snippet of some python code.

The problem occurs when opening the file in terminal vim (i.e., $ vi <filename>) using my default settings, then entering :colorscheme badwolf. My default colorscheme right now is this one. So I guess the problem stems from having launched using the default then switching to badwolf?

Can you offer any assistance? Thanks!

2017-01-07-095304_835x1016_scrot

htmlItalic

Hi,

i've been using badwolf since the early days of Clojure (thank you also for your plugins from those days such as vim-clojure-static).

I am doing quite a lot of writing in markdown recently using tpope's syntax highlighting. That plugin uses htmlItalic, htmlBold, htmlBoldItalic.

It would be great if badwolf at least supported htmlItalic.

Thanks for such a great colourscheme and reminding me on a daily basis how good Christopher Eccleston was as Doctor Who.

Martin

Not enabled for markdown and other file types

Hello :)

I've installed your great theme. I see it applied in JSON files, but not in Python, Bash nor Markdown files.

Is there extra configuration to do to generalize your theme to all supported file types?

Here is the beginning of my init.vim:

call plug#begin('~/.vim/plugged')    
     
Plug 'xolox/vim-misc'    
Plug 'xolox/vim-session'    
Plug 'kien/ctrlp.vim'    
" Plug 'jacoborus/tender.vim'    
" Plug 'rakr/vim-one'    
Plug 'sjl/badwolf'    
     
Plug 'itchyny/lightline.vim'    
Plug 'tpope/vim-fugitive'    
     
call plug#end()    
     
     
set termguicolors    
syntax enable    
colorscheme "badwolf" 

Thanks!

Scrolling causes whitespace to change color [manjaro linux]

When I open a file and scroll, the whitespace on the lines that I showed by scrolling changes color in a way that makes it seem that the theme no longer applies to it. Which is to say that if I am looking at lines 1-50, then scroll down so that i am viewing lines 50-59, the whitespace on lines 51-59 will not be the correct color, and do not appear themed at all.

Wrong colors in CSS

Few of the CSS properties are coloured in pink while they should have been in red.

(In this screenshot the left and right properties in particular.)

screenshot from 2013-10-16 23 02 48

Badwolf and LaTeX

Themes like molokai and your modified molokai correctly highlight, when editing .tex files, things like

\frac{A}{2}

Badwolf does not (maybe because he's bad :)

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.