Vim updates.

This commit is contained in:
ADAM David Alan Martin
2016-10-06 12:53:30 -04:00
parent 00d3aff54e
commit 99d727fdd6
5 changed files with 24 additions and 5 deletions

View File

@ -9,6 +9,11 @@ endif
syn match cxxObjects "\<[A-Z][A-Za-z0-9_]*[a-z][A-Za-z0-9_]*\>"
syn match cxxMetaFunction "\<[a-z][a-z0-9]*_[a-z0-9_]*[a-z0-9]\>"
syn keyword cppType noexcept decltype
syn keyword cppStatement static_assert
syn keyword cxxConstants nullptr
syn keyword cxxExceptionNames Exception Exceptions
syn match cxxExceptionNames "\<[A-Z][A-Za-z0-9_]*Exception\>"
@ -39,6 +44,7 @@ if version >= 508 || !exists("did_cxx_syntax_inits")
HiLink cxxExceptionNames Exception
HiLink cxxErrorNames Error
HiLink cxxDebug Debug
HiLink cxxConstants Constant
delcommand HiLink
endif

View File

@ -0,0 +1 @@
syn keyword doxygenParam contained tparam nextgroup=doxygenParamName,doxygenParamDirection skipwhite

View File

@ -10,7 +10,10 @@ au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h setf cpp
" Alephaish
au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set sw=4
au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set ts=4
au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set sts=4
au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set sta
au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set noet
au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set tw=150
au BufNewFile,BufRead */cshenv/tcshrc.* setf tcsh
@ -20,6 +23,14 @@ au BufNewFile,BufRead */cshenv/tcshrc.* setf tcsh
"au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set sw=3
"au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set et
" mongoish
"au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set ts=2
"au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set sts=2
"au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set sw=2
"au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set sta
"au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set et
"au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set tw=100
au FileType * setlocal formatoptions=tcq
if has("syntax")

View File

@ -38,6 +38,8 @@ set modelines=16
"Wildcard expansion menu from command-colon line
set wildmenu
set mps+=<:>
if &term =~ "rxvt"
set t_Co=16
endif

View File

@ -9,9 +9,8 @@ map Y y$
map zz zM
map _w :!/bbsrc/bin/prod/bin/aotools/bdewrap
map [3~ :cn
map _1 :.!bde_underlineheading
map _2 :.!bde_underlineheading -l2
map _3 :.!bde_underlineheading -l3
map _4 :.!bde_underlineheading -l4
"map _ :1,$!/opt/local/bin/clang-format-mp-3.9 -style=file
:1,$!/opt/local/bin/uncrustify -q -lCPP -c ~/adamformat/adam.format.cfg
map _ :1,$!/opt/local/bin/uncrustify -q -lCPP -c ~/adamformat/adam.format.cfg