cleanup cpp.kak
This commit is contained in:
parent
2e339e92bb
commit
0e6ced9176
|
@ -10,7 +10,7 @@ hook global BufOpen .* %{ %sh{
|
|||
} }
|
||||
|
||||
hook global WinSetOption filetype=cpp %{
|
||||
addhl group cpp-highlight;
|
||||
addhl group cpp-highlight
|
||||
addhl -group cpp-highlight regex "\<(this|true|false|NULL|nullptr|)\>|\<-?\d+[fdiu]?|'((\\.)?|[^'\\])'" 0:red
|
||||
addhl -group cpp-highlight regex "\<(void|int|char|unsigned|float|bool|size_t)\>" 0:yellow
|
||||
addhl -group cpp-highlight regex "\<(while|for|if|else|do|switch|case|default|goto|break|continue|return|using|try|catch|throw|new|delete|and|or|not)\>" 0:blue
|
||||
|
@ -46,4 +46,4 @@ def alt %{ edit %sh{
|
|||
*.hxx) echo ${kak_bufname/%hxx/cxx} ;;
|
||||
*.H) echo ${kak_bufname/%H/C} ;;
|
||||
esac
|
||||
}}
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user