Merge pull request #103 from DLWood1001/master

Background variable in base16-vim
This commit is contained in:
Chris Kempson authored and GitHub committed 2016-07-19 19:06:51 +01:00
commit 7d4da142a2
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -12,7 +12,6 @@ For terminal Vim (non-gui) please ensure you are using a base16 terminal theme.
* [iTerm2](https://github.com/chriskempson/base16-iterm2)
## Installation
To use the dark theme ensure `set background=dark` is present in your `~/.vimrc` file. Otherwise Vim will use the light variation by default.
Add `colorscheme base16-default-dark` to your `~/.vimrc`.
@@ -50,4 +49,4 @@ If your Vim looks like the above image you are using a 256 terminal theme withou
### Blue line numbers
![blue line numbers screenshot](https://raw.github.com/chriskempson/base16-vim/master/with-base16colorspace-256-without-base16-shell.png)
If your Vim looks like the above image you are setting `let base16colorspace=256` in your `~/.vimrc` but either not running [Base16 Shell](https://github.com/chriskempson/base16-shell) or [Base16 Shell](https://github.com/chriskempson/base16-shell) is not working for your terminal. Either ensure [Base16 Shell](https://github.com/chriskempson/base16-shell) is working by running the `colortest` available in the [Base16 Shell](https://github.com/chriskempson/base16-shell) repository or not setting `let base16colorspace=256` in your `~/.vimrc`.
If your Vim looks like the above image you are setting `let base16colorspace=256` in your `~/.vimrc` but either not running [Base16 Shell](https://github.com/chriskempson/base16-shell) or [Base16 Shell](https://github.com/chriskempson/base16-shell) is not working for your terminal. Either ensure [Base16 Shell](https://github.com/chriskempson/base16-shell) is working by running the `colortest` available in the [Base16 Shell](https://github.com/chriskempson/base16-shell) repository or not setting `let base16colorspace=256` in your `~/.vimrc`.
+1 -1
View File
@@ -8,7 +8,7 @@
" let g:base16_shell_path=base16-builder/output/shell/
if !has('gui_running')
if exists("g:base16_shell_path")
execute "silent !/bin/sh ".g:base16_shell_path."/base16-{{scheme-slug}}.".&background.".sh"
execute "silent !/bin/sh ".g:base16_shell_path."/base16-{{scheme-slug}}.sh"
endif
endif