diff --git a/editor/neovim/coc-extensions.json b/editor/neovim/coc-extensions.json new file mode 100644 index 00000000..23dfe886 --- /dev/null +++ b/editor/neovim/coc-extensions.json @@ -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" + } +} \ No newline at end of file diff --git a/editor/neovim/topic.config.yml b/editor/neovim/topic.config.yml index dbf712b7..33870fbf 100644 --- a/editor/neovim/topic.config.yml +++ b/editor/neovim/topic.config.yml @@ -20,3 +20,5 @@ neovim_config: - plugins.d - UltiSnips - coc-settings.json + - src: coc-extensions.json + dest: "{{ xdg_config_home }}/coc/extensions/package.json" diff --git a/editor/neovim/topic.tasks.yaml b/editor/neovim/topic.tasks.yaml new file mode 100644 index 00000000..840c5e10 --- /dev/null +++ b/editor/neovim/topic.tasks.yaml @@ -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