Skip to content

Commit

Permalink
feat(vim): put coc extensions under version control
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasnorrby committed Jun 14, 2020
1 parent 66ff8c7 commit e975bf7
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
14 changes: 14 additions & 0 deletions editor/neovim/coc-extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"dependencies": {
"coc-eslint": ">=1.2.7",
"coc-explorer": ">=0.7.11",
"coc-html": ">=1.2.4",
"coc-json": ">=1.2.6",
"coc-prettier": ">=1.1.14",
"coc-python": ">=1.2.12",
"coc-snippets": ">=2.1.28",
"coc-tsserver": ">=1.5.1",
"coc-vetur": ">=1.1.10",
"coc-yaml": ">=1.0.4"
}
}
2 changes: 2 additions & 0 deletions editor/neovim/topic.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ neovim_config:
- plugins.d
- UltiSnips
- coc-settings.json
- src: coc-extensions.json
dest: "{{ xdg_config_home }}/coc/extensions/package.json"
10 changes: 10 additions & 0 deletions editor/neovim/topic.tasks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
- name: create a coc config dir
file:
path: "{{ xdg_config_home }}/coc"
state: directory

- name: create a coc extensions dir
file:
path: "{{ xdg_config_home }}/coc/extensions"
state: directory

0 comments on commit e975bf7

Please sign in to comment.