diff --git a/vim/coc-settings.json b/vim/coc-settings.json index f4b9033..c248fc4 100644 --- a/vim/coc-settings.json +++ b/vim/coc-settings.json @@ -14,5 +14,9 @@ "typescriptreact" ], "tsserver.formatOnType": true, - "coc.preferences.formatOnType": true + "coc.preferences.formatOnType": true, + "yaml.schemaStore.enable": true, + "yaml.schemas": { + "kubernetes": "/*.yaml" + } } diff --git a/vim/vimrc b/vim/vimrc index a87ec58..7edc3ac 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -31,7 +31,8 @@ Plug 'kevinoid/vim-jsonc' Plug 'neoclide/coc.nvim', {'branch': 'release'} let g:coc_global_extensions = [ \ 'coc-tsserver', - \ 'coc-prettier' + \ 'coc-prettier', + \ 'coc-yaml' \ ] if isdirectory('./node_modules') && isdirectory('./node_modules/prettier')