diff options
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 |