aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2019-07-29 00:59:18 +0200
committerMax Christian Pohle2019-07-29 00:59:18 +0200
commitee9db4ec2784356bb1aa16ef52f29bead61e74ae (patch)
treec40a736ade1d8f3ee6b2c05528b293e8db0eea03
parent450d847e42582ef2734015869c59c7d1fdd6b208 (diff)
downloadvim-karlmarks-ee9db4ec2784356bb1aa16ef52f29bead61e74ae.tar.bz2
vim-karlmarks-ee9db4ec2784356bb1aa16ef52f29bead61e74ae.zip
Fixed color scheme and C handling
-rw-r--r--ftplugin/c.vim3
-rw-r--r--plugin/max-fix-colorschemes.vim23
2 files changed, 11 insertions, 15 deletions
diff --git a/ftplugin/c.vim b/ftplugin/c.vim
index e7dc155..3a874ff 100644
--- a/ftplugin/c.vim
+++ b/ftplugin/c.vim
@@ -5,4 +5,5 @@ setlocal keywordprg=man\ 3
5map <buffer> = :pyf /usr/share/clang/clang-format.py<CR> 5map <buffer> = :pyf /usr/share/clang/clang-format.py<CR>
6 6
7 7
8 8let c_space_errors=1
9let c_gnu=1
diff --git a/plugin/max-fix-colorschemes.vim b/plugin/max-fix-colorschemes.vim
index 7dda5bf..d68c84a 100644
--- a/plugin/max-fix-colorschemes.vim
+++ b/plugin/max-fix-colorschemes.vim
@@ -2,20 +2,15 @@
2" COLOR SCHEME: 2" COLOR SCHEME:
3"======================================================================================================================= 3"=======================================================================================================================
4function! ExtendColorTheme() 4function! ExtendColorTheme()
5 highlight! Bold cterm=bold gui=bold 5 highlight! Bold cterm=bold gui=bold
6 highlight! Italic cterm=italic gui=italic 6 highlight! Italic cterm=italic gui=italic
7 highlight! Underline cterm=underline gui=underline 7 highlight! Underline cterm=underline gui=underline
8 highlight! BoldUnderline cterm=bold,underline gui=bold,underline 8 highlight! BoldUnderline cterm=bold,underline gui=bold,underline
9 highlight! BoldItalic cterm=bold,Italic gui=bold,italic 9 highlight! BoldItalic cterm=bold,Italic gui=bold,italic
10 highlight! Todo cterm=bold gui=bold guibg=#ffffaa guifg=#000000 10 highlight! Todo cterm=bold gui=bold guibg=#ffffaa guifg=#000000
11 highlight! Error cterm=NONE ctermbg=NONE gui=NONE guibg=NONE 11 highlight! Error ctermbg=NONE cterm=NONE gui=NONE guibg=NONE
12 highlight! SpellBad cterm=NONE gui=undercurl guibg=NONE guifg=red 12 highlight! SpellBad cterm=NONE gui=undercurl guibg=NONE guifg=red
13 highlight! Ignore cterm=NONE ctermbg=NONE ctermfg=NONE gui=NONE guibg=NONE guifg=NONE 13 highlight! Ignore ctermbg=NONE ctermfg=NONE cterm=NONE gui=NONE guibg=NONE guifg=NONE
14 highlight! LineNr cterm=bold,italic,inverse ctermbg=NONE ctermfg=fg
15 " highlight! VertSplit ctermbg=252 ctermfg=252
16
17
18
19 14
20 if has("gui_running") 15 if has("gui_running")
21 highlight invisible gui=NONE guifg=background guibg=background 16 highlight invisible gui=NONE guifg=background guibg=background
..