Add console filetype for Markdown/RST code blocks
This commit is contained in:
8
syntax/console.vim
Normal file
8
syntax/console.vim
Normal file
@@ -0,0 +1,8 @@
|
||||
if exists('b:current_syntax')
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax region consoleCommand matchgroup=consolePrompt start='^\s*\$' skip='\\$' end='$'
|
||||
|
||||
highlight link consoleCommand Special
|
||||
highlight consolePrompt cterm=bold gui=bold
|
||||
Reference in New Issue
Block a user