gitignore extension for coc
templates from https://github.com/dvcs/gitignore
Install
CocInstall coc-gitignore
Usage
CocList gitignore
actions:
- append (default): add gitignore rules to
.gitignore
file of current workspace directory
Config
coc-settings.json
"gitignore.enable": {"type": "boolean","default": true,"description": "Is enable gitignore"},"gitignore.templates.patch": {"type": "object","default": {},"additionalProperties": {"type": "string"},"description": "gitignore patch for exists templates (key and value format)"},"gitignore.templates.replace": {"type": "object","default": {},"additionalProperties": {"type": "string"},"description": "gitignore completely replace the exists templates (key and value format)"}