mirror of
https://github.com/raimon49/requirements.txt.vim.git
synced 2026-11-06 20:26:03 +08:00
Merge pull request #2 from raimon49/support-file-extension-of-pip
Support file extension of '.pip'
This commit is contained in:
commit
62da52173e
4 files changed
+5
-4
No files matched your search
@@ -1,5 +1,5 @@
|
||||
" the Requirements File Format syntax support for Vim
|
||||
" Version: 1.1.2
|
||||
" Version: 1.2.0
|
||||
" Author: raimon <raimon49@hotmail.com>
|
||||
" License: MIT LICENSE
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
" the Requirements File Format syntax support for Vim
|
||||
" Version: 1.1.2
|
||||
" Version: 1.2.0
|
||||
" Author: raimon <raimon49@hotmail.com>
|
||||
" License: MIT LICENSE
|
||||
"
|
||||
@@ -10,5 +10,6 @@ function! s:isRequirementsFile()
|
||||
endfunction
|
||||
|
||||
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:
|
||||
@@ -1,5 +1,5 @@
|
||||
" the Requirements File Format syntax support for Vim
|
||||
" Version: 1.1.2
|
||||
" Version: 1.2.0
|
||||
" Author: raimon <raimon49@hotmail.com>
|
||||
" License: MIT LICENSE
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
" the Requirements File Format syntax support for Vim
|
||||
" Version: 1.1.2
|
||||
" Version: 1.2.0
|
||||
" Author: raimon <raimon49@hotmail.com>
|
||||
" License: MIT LICENSE
|
||||
|
||||
|
||||
Reference in new issue
Block a user