Add POC sanitizer filetype
This commit is contained in:
parent
aa3ae7df35
commit
7e79b97933
10
syntax/sanitizer.vim
Normal file
10
syntax/sanitizer.vim
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
if exists('b:current_syntax')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
syntax include @sanitizerCppSyntax syntax/cpp.vim
|
||||||
|
|
||||||
|
syntax region sanitizerBacktraceRegion matchgroup=sanitizerBacktrace start='\s\+\zs#\d\+' end='(.*)' oneline
|
||||||
|
syntax region sanitizerBacktraceRegion matchgroup=sanitizerBacktrace start='\s\+\zs#\d\+' end='\(\/.*\)\+:\d\+:\d\+ (.*)' oneline contains=@sanitizerCppSyntax
|
||||||
|
|
||||||
|
highlight default link sanitizerBacktrace Comment
|
Loading…
x
Reference in New Issue
Block a user