diff options
author | Max Christian Pohle | 2019-09-20 00:28:01 +0200 |
---|---|---|
committer | Max Christian Pohle | 2019-09-20 00:28:01 +0200 |
commit | 6a1f77b32224bb86c50c687ea1f8f70cf4b440a0 (patch) | |
tree | 4ef52beb6e859f6111e89d980d1e50c021befc48 /plugin/max-fix-colorschemes.vim | |
parent | a6cdae262df868ff79c32dca3b61686ef5c8e433 (diff) | |
download | vim-karlmarks-6a1f77b32224bb86c50c687ea1f8f70cf4b440a0.tar.bz2 vim-karlmarks-6a1f77b32224bb86c50c687ea1f8f70cf4b440a0.zip |
Major version update
Diffstat (limited to 'plugin/max-fix-colorschemes.vim')
-rw-r--r-- | plugin/max-fix-colorschemes.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugin/max-fix-colorschemes.vim b/plugin/max-fix-colorschemes.vim index d68c84a..c357117 100644 --- a/plugin/max-fix-colorschemes.vim +++ b/plugin/max-fix-colorschemes.vim | |||
@@ -1,6 +1,14 @@ | |||
1 | "======================================================================================================================= | 1 | "======================================================================================================================= |
2 | " COLOR SCHEME: | 2 | " COLOR SCHEME: |
3 | "======================================================================================================================= | 3 | "======================================================================================================================= |
4 | |||
5 | if &term == "linux" | ||
6 | set notermguicolors | ||
7 | else | ||
8 | set termguicolors | ||
9 | endif | ||
10 | |||
11 | |||
4 | function! ExtendColorTheme() | 12 | function! ExtendColorTheme() |
5 | highlight! Bold cterm=bold gui=bold | 13 | highlight! Bold cterm=bold gui=bold |
6 | highlight! Italic cterm=italic gui=italic | 14 | highlight! Italic cterm=italic gui=italic |