Vim updates.
This commit is contained in:
@ -9,6 +9,11 @@ endif
|
|||||||
syn match cxxObjects "\<[A-Z][A-Za-z0-9_]*[a-z][A-Za-z0-9_]*\>"
|
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 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 keyword cxxExceptionNames Exception Exceptions
|
||||||
syn match cxxExceptionNames "\<[A-Z][A-Za-z0-9_]*Exception\>"
|
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 cxxExceptionNames Exception
|
||||||
HiLink cxxErrorNames Error
|
HiLink cxxErrorNames Error
|
||||||
HiLink cxxDebug Debug
|
HiLink cxxDebug Debug
|
||||||
|
HiLink cxxConstants Constant
|
||||||
|
|
||||||
delcommand HiLink
|
delcommand HiLink
|
||||||
endif
|
endif
|
||||||
|
|||||||
1
vim/after/syntax/doxygen.vim
Normal file
1
vim/after/syntax/doxygen.vim
Normal file
@ -0,0 +1 @@
|
|||||||
|
syn keyword doxygenParam contained tparam nextgroup=doxygenParamName,doxygenParamDirection skipwhite
|
||||||
@ -10,7 +10,10 @@ au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h setf cpp
|
|||||||
" Alephaish
|
" Alephaish
|
||||||
au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set sw=4
|
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 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 noet
|
||||||
|
au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set tw=150
|
||||||
|
|
||||||
au BufNewFile,BufRead */cshenv/tcshrc.* setf tcsh
|
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 sw=3
|
||||||
"au BufNewFile,BufRead *.cpp,*.hpp,*.cc,*.h set et
|
"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
|
au FileType * setlocal formatoptions=tcq
|
||||||
|
|
||||||
if has("syntax")
|
if has("syntax")
|
||||||
|
|||||||
@ -38,6 +38,8 @@ set modelines=16
|
|||||||
"Wildcard expansion menu from command-colon line
|
"Wildcard expansion menu from command-colon line
|
||||||
set wildmenu
|
set wildmenu
|
||||||
|
|
||||||
|
set mps+=<:>
|
||||||
|
|
||||||
if &term =~ "rxvt"
|
if &term =~ "rxvt"
|
||||||
set t_Co=16
|
set t_Co=16
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -9,9 +9,8 @@ map Y y$
|
|||||||
|
|
||||||
map zz zM
|
map zz zM
|
||||||
|
|
||||||
map _w :!/bbsrc/bin/prod/bin/aotools/bdewrap
|
map [3~ :cn
|
||||||
|
|
||||||
map _1 :.!bde_underlineheading
|
"map _ :1,$!/opt/local/bin/clang-format-mp-3.9 -style=file
|
||||||
map _2 :.!bde_underlineheading -l2
|
:1,$!/opt/local/bin/uncrustify -q -lCPP -c ~/adamformat/adam.format.cfg
|
||||||
map _3 :.!bde_underlineheading -l3
|
map _ :1,$!/opt/local/bin/uncrustify -q -lCPP -c ~/adamformat/adam.format.cfg
|
||||||
map _4 :.!bde_underlineheading -l4
|
|
||||||
|
|||||||
Reference in New Issue
Block a user