From ee9db4ec2784356bb1aa16ef52f29bead61e74ae Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 29 Jul 2019 00:59:18 +0200 Subject: Fixed color scheme and C handling --- ftplugin/c.vim | 3 ++- plugin/max-fix-colorschemes.vim | 23 +++++++++-------------- 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 map = :pyf /usr/share/clang/clang-format.py - +let c_space_errors=1 +let 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 @@ " COLOR SCHEME: "======================================================================================================================= function! ExtendColorTheme() - highlight! Bold cterm=bold gui=bold - highlight! Italic cterm=italic gui=italic - highlight! Underline cterm=underline gui=underline - highlight! BoldUnderline cterm=bold,underline gui=bold,underline - highlight! BoldItalic cterm=bold,Italic gui=bold,italic - highlight! Todo cterm=bold gui=bold guibg=#ffffaa guifg=#000000 - highlight! Error cterm=NONE ctermbg=NONE gui=NONE guibg=NONE - highlight! SpellBad cterm=NONE gui=undercurl guibg=NONE guifg=red - highlight! Ignore cterm=NONE ctermbg=NONE ctermfg=NONE gui=NONE guibg=NONE guifg=NONE - highlight! LineNr cterm=bold,italic,inverse ctermbg=NONE ctermfg=fg - " highlight! VertSplit ctermbg=252 ctermfg=252 - - - + highlight! Bold cterm=bold gui=bold + highlight! Italic cterm=italic gui=italic + highlight! Underline cterm=underline gui=underline + highlight! BoldUnderline cterm=bold,underline gui=bold,underline + highlight! BoldItalic cterm=bold,Italic gui=bold,italic + highlight! Todo cterm=bold gui=bold guibg=#ffffaa guifg=#000000 + highlight! Error ctermbg=NONE cterm=NONE gui=NONE guibg=NONE + highlight! SpellBad cterm=NONE gui=undercurl guibg=NONE guifg=red + highlight! Ignore ctermbg=NONE ctermfg=NONE cterm=NONE gui=NONE guibg=NONE guifg=NONE if has("gui_running") highlight invisible gui=NONE guifg=background guibg=background -- cgit v1.2.3