summaryrefslogtreecommitdiffstats
path: root/after/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'after/syntax')
-rw-r--r--after/syntax/c.vim3
-rw-r--r--after/syntax/cpp.vim7
-rw-r--r--after/syntax/yaml.vim6
3 files changed, 12 insertions, 4 deletions
diff --git a/after/syntax/c.vim b/after/syntax/c.vim
index ba8b2915..0805d666 100644
--- a/after/syntax/c.vim
+++ b/after/syntax/c.vim
@@ -72,7 +72,8 @@ syn keyword cAnsiFunction wcstombs mbstowcs wctomb
syn keyword cAnsiFunction mbtowc mblen lldiv
syn keyword cAnsiFunction ldiv div llabs
syn keyword cAnsiFunction labs abs qsort
-syn keyword cAnsiFunction bsearch system getenv
+"syn keyword cAnsiFunction bsearch system getenv
+syn keyword cAnsiFunction bsearch getenv
syn keyword cAnsiFunction exit atexit abort
syn keyword cAnsiFunction realloc malloc free
syn keyword cAnsiFunction calloc srand rand
diff --git a/after/syntax/cpp.vim b/after/syntax/cpp.vim
index 6c34fe74..5a0c2183 100644
--- a/after/syntax/cpp.vim
+++ b/after/syntax/cpp.vim
@@ -134,6 +134,7 @@ syntax keyword cppSTLfunctional binary_negate
syntax keyword cppSTLfunctional bit_and
syntax keyword cppSTLfunctional bit_not
syntax keyword cppSTLfunctional bit_or
+syntax keyword cppSTLfunctional bit_xor
syntax keyword cppSTLfunctional divides
syntax keyword cppSTLfunctional equal_to
syntax keyword cppSTLfunctional greater
@@ -197,7 +198,7 @@ syntax keyword cppSTLfunction count
syntax keyword cppSTLfunction count_if
syntax keyword cppSTLfunction c_str
syntax keyword cppSTLfunction ctime
-syntax keyword cppSTLfunction data
+"syntax keyword cppSTLfunction data
syntax keyword cppSTLfunction denorm_min
syntax keyword cppSTLfunction destroy
syntax keyword cppSTLfunction difftime
@@ -459,7 +460,7 @@ syntax keyword cppSTLfunction swap_ranges
syntax keyword cppSTLfunction swprintf
syntax keyword cppSTLfunction swscanf
syntax keyword cppSTLfunction sync_with_stdio
-syntax keyword cppSTLfunction system
+"syntax keyword cppSTLfunction system
syntax keyword cppSTLfunction tan
syntax keyword cppSTLfunction tanh
syntax keyword cppSTLfunction tellg
@@ -1053,7 +1054,7 @@ if !exists("cpp_no_cpp11")
syntax keyword cppSTLconstant FLT_EVAL_METHOD
" complex
- syntax keyword cppSTLfunction proj
+ "syntax keyword cppSTLfunction proj
" random
syntax keyword cppSTLtype linear_congruential_engine
diff --git a/after/syntax/yaml.vim b/after/syntax/yaml.vim
new file mode 100644
index 00000000..62f83a8e
--- /dev/null
+++ b/after/syntax/yaml.vim
@@ -0,0 +1,6 @@
+" Language: Colorful CSS Color Preview
+" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
+
+if !( has('gui_running') || &t_Co==256 ) | finish | endif
+
+call css_color#init('hex', 'extended', 'yamlComment,yamlFlowString,yamlPlainScalar')