GithubHelp home page GithubHelp logo

marciomazza / requirements.txt.vim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raimon49/requirements.txt.vim

0.0 1.0 0.0 53 KB

the Requirements File Format syntax support for Vim

License: MIT License

Ruby 9.08% Vim Script 90.92%

requirements.txt.vim's Introduction

requirements.txt.vim

Build Status GitHub Release MIT License Known Vulnerabilities

the Requirements File Format syntax support for Vim.

requirements txt-sc

Table of Contents

Installation

Plugin manager (recommended)

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

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

" vim-plug with on-demand
Plug 'raimon49/requirements.txt.vim', {'for': 'requirements'}

" dein.vim
call dein#add('raimon49/requirements.txt.vim')

" dein.vim with lazy
call dein#add('raimon49/requirements.txt.vim', {'lazy': 1, 'on_ft': 'requirements'})

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

" Vundle
Plugin 'raimon49/requirements.txt.vim'
$ 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
  • constraints.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

requirements.txt.vim's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.