/vim-hgignore

syntax and snippet support for mercurial ignore file

Primary LanguageShell

Vim gitignore plugin

This plugin provides hgignore syntax highlighting and code snippets from github's gitignore.

Requirements

Installation

Snippets Usage

  • vim-hgignore contains a set of snippets. To use snippets, just open your .hgignore file, type in proper snippet name (for example, Python, or Vim) and press <Tab> key or other key defined in your vimrc, which will expand snippets.

  • List

  • If you find that the snippets are not keeping up with the gitignore repo, you can manually execute the script rebuild-snippets to rebuild snippets.

TODO

  1. ✓ add indent file
  2. add more highlighting in syntax file

Alternative Option

  • You can also follow gitignore.io to generate .gitignore file in your project.

Contributions

Any issue or pull request is welcome.

License

Copyright 2015 gisphm phmfk@hotmail.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.