mirror of
https://github.com/raimon49/requirements.txt.vim.git
synced 2026-01-31 12:25:22 +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
|
||||
" 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