2016-08-05 23:25:49 +09:00
2016-08-04 23:06:33 +09:00
2016-08-04 23:06:33 +09:00
2016-08-04 23:06:33 +09:00
2016-08-04 23:06:33 +09:00
2015-11-29 00:11:33 +09:00
2015-11-29 00:05:47 +09:00
2015-11-29 00:05:47 +09:00
2015-12-13 16:06:42 +09:00
2015-12-13 16:06:42 +09:00
2015-11-25 01:02:36 +09:00
2015-11-29 13:16:30 +09:00
2015-11-29 00:05:47 +09:00
2015-11-29 00:05:47 +09:00

requirements.txt.vim

Build Status Dependency Status MIT License

the Requirements File Format syntax support for Vim.

requirements txt-sc

Installation

e.g.) NeoBundle, Vundle, vim-plug and more

" NeoBundle
NeoBundle 'raimon49/requirements.txt.vim'

" Vundle
Plugin 'raimon49/requirements.txt.vim'

" vim-plug
Plug 'raimon49/requirements.txt.vim'

Pathogen (https://github.com/tpope/vim-pathogen)

$ git clone https://github.com/raimon49/requirements.txt.vim.git ~/.vim/bundle/requirements.txt.vim

Manually

Deploy all files under $VIMRUNTIME.

File detection

requirements.txt.vim detects filename automatically.

  • requirements.txt
  • dev-requirements.txt
  • requirements/dev.txt
  • requires/tests.txt
  • requirements.in
    • Use for pip-tools (a.k.a. Better dependency management tool).
  • *.pip

Customize

If you want to customize it.

" Add 'freeze' to your .vimrc as a detection pattern
let g:requirements#detect_filename_pattern = 'freeze'
$ pip freeze > my-freeze.txt
# You can edit it as a 'Requirements File Format'
$ vim my-freeze.txt

License

MIT License

Description
the Requirements File Format syntax support for Vim
Readme 184 KiB
Languages
Vim Script 95.9%
Ruby 4.1%