- This plugin provides syntax highlighting and up-to-date code snippets for
.gitignore
file. - The snippets are based on github's gitignore files.
- For using code snippets you should install snipMate, neosnippet, or ultisnips first.
-
Plugin 'gisphm/vim-gitignore'
-
NeoBundle 'gisphm/vim-gitignore'
Snippets List
-
See the list in 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.
vim-gitignore
contains a set of snippets. To use snippets, just open your.gitignore
file, type in proper snippet name (for example,Python
, orVim
) and press<Tab>
key or other key defined in your vimrc, which will expand snippets.
- add indent file
- add more highlighting in syntax file
- basic highlight
- self-defined color
You can also follow gitignore.io to generate .gitignore
file in your project.
Any issue or pull request is welcome.
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
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.