mirror of
https://github.com/raimon49/requirements.txt.vim.git
synced 2026-03-06 21:44:21 +08:00
Merge pull request #10 from raimon49/match-urls-better
Match URLs better Close #9
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
" the Requirements File Format syntax support for Vim
|
" the Requirements File Format syntax support for Vim
|
||||||
" Version: 1.5.0
|
" Version: 1.5.1
|
||||||
" Author: raimon <raimon49@hotmail.com>
|
" Author: raimon <raimon49@hotmail.com>
|
||||||
" License: MIT LICENSE
|
" License: MIT LICENSE
|
||||||
" The MIT License (MIT)
|
" The MIT License (MIT)
|
||||||
|
|||||||
@@ -32,3 +32,6 @@ foobar[quux]<2,>=3; os_name=='a'
|
|||||||
-e svn+http://svn.myproject.org/svn/MyProject/trunk@2019#egg=MyProject # Subversion
|
-e svn+http://svn.myproject.org/svn/MyProject/trunk@2019#egg=MyProject # Subversion
|
||||||
-e bzr+ssh://user@myproject.org/MyProject/trunk#egg=MyProject # Bazaar
|
-e bzr+ssh://user@myproject.org/MyProject/trunk#egg=MyProject # Bazaar
|
||||||
-e bzr+https://bzr.myproject.org/MyProject/trunk@2019#egg=MyProject
|
-e bzr+https://bzr.myproject.org/MyProject/trunk@2019#egg=MyProject
|
||||||
|
|
||||||
|
django==2.2
|
||||||
|
https://github.com/pallets/click/archive/7.0.zip
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
" the Requirements File Format syntax support for Vim
|
" the Requirements File Format syntax support for Vim
|
||||||
" Version: 1.5.0
|
" Version: 1.5.1
|
||||||
" Author: raimon <raimon49@hotmail.com>
|
" Author: raimon <raimon49@hotmail.com>
|
||||||
" License: MIT LICENSE
|
" License: MIT LICENSE
|
||||||
" The MIT License (MIT)
|
" The MIT License (MIT)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
" the Requirements File Format syntax support for Vim
|
" the Requirements File Format syntax support for Vim
|
||||||
" Version: 1.5.0
|
" Version: 1.5.1
|
||||||
" Author: raimon <raimon49@hotmail.com>
|
" Author: raimon <raimon49@hotmail.com>
|
||||||
" License: MIT LICENSE
|
" License: MIT LICENSE
|
||||||
" The MIT License (MIT)
|
" The MIT License (MIT)
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
" the Requirements File Format syntax support for Vim
|
" the Requirements File Format syntax support for Vim
|
||||||
" Version: 1.5.0
|
" Version: 1.5.1
|
||||||
" Author: raimon <raimon49@hotmail.com>
|
" Author: raimon <raimon49@hotmail.com>
|
||||||
" License: MIT LICENSE
|
" License: MIT LICENSE
|
||||||
" The MIT License (MIT)
|
" The MIT License (MIT)
|
||||||
@@ -36,7 +36,7 @@ syn match requirementsVersionSpecifiers "\v(\=\=\=?|\<\=?|\>\=?|\~\=|\!\=)"
|
|||||||
syn match requirementsPackageName "\v^([a-zA-Z0-9][a-zA-Z0-9\-_\.]*[a-zA-Z0-9])"
|
syn match requirementsPackageName "\v^([a-zA-Z0-9][a-zA-Z0-9\-_\.]*[a-zA-Z0-9])"
|
||||||
syn match requirementsExtras "\v\[\S+\]"
|
syn match requirementsExtras "\v\[\S+\]"
|
||||||
syn match requirementsVersionControls "\v(git\+?|hg\+|svn\+|bzr\+)\S+"
|
syn match requirementsVersionControls "\v(git\+?|hg\+|svn\+|bzr\+)\S+"
|
||||||
syn match requirementsURLs "\v\@\s\S+"
|
syn match requirementsURLs "\v(\@\s)?(https?|ftp|gopher)://?[^\s/$.?#].\S*"
|
||||||
syn match requirementsEnvironmentMarkers "\v;\s.+$"
|
syn match requirementsEnvironmentMarkers "\v;\s.+$"
|
||||||
|
|
||||||
hi link requirementsComment Comment
|
hi link requirementsComment Comment
|
||||||
|
|||||||
Reference in New Issue
Block a user