From 9630c01a5aa6d1fc4af14c1d21a1e70c82b5d48a Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Thu, 17 Feb 2022 13:06:55 -0500 Subject: [PATCH 1/2] Add a few more syntax highlights for C++. --- vim/after/syntax/cpp.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/after/syntax/cpp.vim b/vim/after/syntax/cpp.vim index c32e564..5fdb42e 100644 --- a/vim/after/syntax/cpp.vim +++ b/vim/after/syntax/cpp.vim @@ -58,6 +58,7 @@ syn keyword cxxStlKeywords contained containedin=cxxStlLibrary,cxxBoostLibrary s syn keyword cxxStlKeywords containedin=cxxStlLibrary,cxxBoostLibrary function contained +syn keyword cxxStlTypes containedin=cxxStlLibrary exception_ptr contained syn keyword cxxStlTypes containedin=cxxStlLibrary iostream istream ostream fstream ifstream ofstream contained syn keyword cxxStlTypes containedin=cxxStlLibrary stringstream istringstream ostringstream contained syn keyword cxxStlTypes containedin=cxxStlLibrary iostream basic_string vector deque list pair queue priority_queue stack map multimap set multiset contained @@ -71,6 +72,8 @@ syn keyword cxxStlTypes containedin=cxxStlLibrary,cxxBoostLibrary tuple containe syn keyword cxxStlService containedin=cxxStlLibrary cout cin clog cerr contained syn keyword cxxStlConstant containedin=cxxStlLibrary endl flush contained +syn keyword cxxStlConstant containedin=cxxStlLibrary nullopt contained + " Smart pointers syn keyword cxxStlFunctions containedin=cxxStlLibrary,cxxBoostLibrary make_shared make_tuple contained syn keyword cxxStlKeywords containedin=cxxBoostLibrary scoped_ptr contained From 3a20ae1e5d56b767d0cf3dafa2dc82d530aaa921 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Thu, 17 Feb 2022 13:07:26 -0500 Subject: [PATCH 2/2] Add `ls` highlights for more compressed files. --- tcshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcshrc b/tcshrc index d9ea307..1fe0c4d 100644 --- a/tcshrc +++ b/tcshrc @@ -80,7 +80,7 @@ source ${CSHENV_DIR}/tcshrc.system if( $?CSHENV_LINUX_SUCKS ) then setenv LS_COLORS 'no=00:fi=00:di=01;34:ln=01;35:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;41;37:ex=00;31:*.tar=01;31:*.tgz=01;31:*.tbz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.cpp=32:*.cc=32:*.c=32:*.l=32:*.cxx=32:*.hpp=33:*.h=33:*.i=33:*.a=31:*.asm=31:*.bin=35:*.sec=36:*.ko=31' else - setenv LS_COLORS 'no=00:fi=00:di=01;34:ln=01;35:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;41;37:ex=00;31:*.tar=01;31:*.tgz=01;31:*.tbz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.cpp=32:*.cc=32:*.c=32:*.l=32:*.m=32:*.i=33:*.cxx=32:*.h=33:*.hpp=33:*.a=31:*.asm=31:*.bin=35:*.sec=36:*.ko=31' + setenv LS_COLORS 'no=00:fi=00:di=01;34:ln=01;35:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;41;37:ex=00;31:*.tar=01;31:*.tgz=01;31:*.tbz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.zst=01;31:*.lz4=01;31:*.deb=01;31:*.rpm=01;31:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.cpp=32:*.cc=32:*.c=32:*.l=32:*.m=32:*.i=33:*.cxx=32:*.h=33:*.hpp=33:*.a=31:*.asm=31:*.bin=35:*.sec=36:*.ko=31' endif setenv CLICOLOR_FORCE