mirror of
https://github.com/raimon49/requirements.txt.vim.git
synced 2026-08-14 20:10:59 +08:00
Merge pull request #2 from raimon49/support-file-extension-of-pip
Support file extension of '.pip'
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.1.2
|
" Version: 1.2.0
|
||||||
" Author: raimon <raimon49@hotmail.com>
|
" Author: raimon <raimon49@hotmail.com>
|
||||||
" License: MIT LICENSE
|
" License: MIT LICENSE
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
" the Requirements File Format syntax support for Vim
|
" the Requirements File Format syntax support for Vim
|
||||||
" Version: 1.1.2
|
" Version: 1.2.0
|
||||||
" Author: raimon <raimon49@hotmail.com>
|
" Author: raimon <raimon49@hotmail.com>
|
||||||
" License: MIT LICENSE
|
" License: MIT LICENSE
|
||||||
"
|
"
|
||||||
@@ -10,5 +10,6 @@ function! s:isRequirementsFile()
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
au BufNewFile,BufRead *.{txt,in} if s:isRequirementsFile() | set ft=requirements
|
au BufNewFile,BufRead *.{txt,in} if s:isRequirementsFile() | set ft=requirements
|
||||||
|
au BufNewFile,BufRead *.pip set ft=requirements
|
||||||
|
|
||||||
" vim: et sw=4 ts=4 sts=4:
|
" vim: et sw=4 ts=4 sts=4:
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
" the Requirements File Format syntax support for Vim
|
" the Requirements File Format syntax support for Vim
|
||||||
" Version: 1.1.2
|
" Version: 1.2.0
|
||||||
" Author: raimon <raimon49@hotmail.com>
|
" Author: raimon <raimon49@hotmail.com>
|
||||||
" License: MIT LICENSE
|
" License: MIT LICENSE
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
" the Requirements File Format syntax support for Vim
|
" the Requirements File Format syntax support for Vim
|
||||||
" Version: 1.1.2
|
" Version: 1.2.0
|
||||||
" Author: raimon <raimon49@hotmail.com>
|
" Author: raimon <raimon49@hotmail.com>
|
||||||
" License: MIT LICENSE
|
" License: MIT LICENSE
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user