mirror of
https://github.com/chriskempson/base16-vim.git
synced 2026-11-22 05:51:36 +03:00
Merge pull request #103 from DLWood1001/master
Background variable in base16-vim
This commit is contained in:
commit
7d4da142a2
2 files changed
+2
-3
No files matched your search
@@ -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
|
||||

|
||||
|
||||
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`.
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user