Add python highlight blocks to gdbinit syntax
This commit is contained in:
6
after/syntax/gdb.vim
Normal file
6
after/syntax/gdb.vim
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
unlet b:current_syntax
|
||||||
|
|
||||||
|
syntax include @gdbPythonSyntax syntax/python.vim
|
||||||
|
syntax region gdbPythonBlock matchgroup=gdbStatement start='^python' keepend end='^end' contains=@gdbPythonSyntax
|
||||||
|
|
||||||
|
let b:current_syntax = 'gdb'
|
||||||
Reference in New Issue
Block a user