Add pip requirements.txt syntax highlighting
This commit is contained in:
11
syntax/requirements.vim
Normal file
11
syntax/requirements.vim
Normal file
@@ -0,0 +1,11 @@
|
||||
if exists('b:current_syntax')
|
||||
finish
|
||||
endif
|
||||
|
||||
highlight default link requirementsComment Comment
|
||||
highlight default link requirementsVersion Identifier
|
||||
highlight default link requirementsOperator Operator
|
||||
|
||||
syntax region requirementsComment start='^\w*#' end='$' contains=@Spell
|
||||
syntax match requirementsVersion '\d\+\.\d\+\.\d\+\w*'
|
||||
syntax match requirementsOperator '=='
|
||||
Reference in New Issue
Block a user