From 589a65612ea83c2acbdf2a939181037dccf78525 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Mon, 19 Sep 2016 12:52:05 -0700 Subject: [PATCH] messing with vim syntax colors --- home/vimrc | 4 ++++ vim/colors/property16.vim | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/home/vimrc b/home/vimrc index e2aae13..89a34a8 100644 --- a/home/vimrc +++ b/home/vimrc @@ -405,6 +405,10 @@ augroup DefaultWin au VimEnter * call DefaultWin() augroup END +" polyglot {{{1 + +let c_gnu=1 + " airline {{{1 if has('gui_running') diff --git a/vim/colors/property16.vim b/vim/colors/property16.vim index 87aa1b5..eb1a8f8 100644 --- a/vim/colors/property16.vim +++ b/vim/colors/property16.vim @@ -45,7 +45,7 @@ call X("VertSplit", s:K, s:K) " good call X("Folded", s:K, s:k) " good ", call X("Error", s:k, s:R) -call X("Exception", s:R, "") " ??? +call X("Exception", s:y, "") " C++ exceptions, i think call X("ErrorMsg", s:k, s:R) call X("TabLineSel", s:k, s:Y) " okay call X("Visual", s:k, s:C) " okay @@ -93,6 +93,8 @@ call X("Keyword", s:b, "") call X("Define", s:b, "") call X("Include", s:b, "") call X("Typedef", s:b, "") +" +call X("Something", s:g, "") " TODO: Vim editor colors "Conceal" @@ -158,6 +160,8 @@ delf X "cStorageClass" "cType" "cUserLabel" +" (polyglot) +hi link cCustomFunc Something " C++ highlighting "cppExceptions"