https://github.com/iamcco/coc-gitignore
gitignore extension for coc.nvim
https://github.com/iamcco/coc-gitignore
Last synced: 10 months ago
JSON representation
gitignore extension for coc.nvim
- Host: GitHub
- URL: https://github.com/iamcco/coc-gitignore
- Owner: iamcco
- Created: 2019-05-25T13:33:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-28T22:39:55.000Z (over 3 years ago)
- Last Synced: 2025-03-18T00:01:29.325Z (10 months ago)
- Language: TypeScript
- Size: 181 KB
- Stars: 20
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gitignore extension for coc
> templates from [https://github.com/dvcs/gitignore](https://github.com/dvcs/gitignore)
## Install
``` vim
CocInstall coc-gitignore
```
## Usage
``` vim
CocList gitignore
```
actions:
- append (default): add gitignore rules to `.gitignore` file of
current workspace directory
## Config
coc-settings.json
``` jsonc
"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)"
}
```
### Buy Me A Coffee ☕️

