mirror of
https://github.com/mentos1386/dotfiles.git
synced 2025-01-31 00:35:42 +00:00
add yaml support
This commit is contained in:
parent
df53f51ce5
commit
bceab31d59
2 changed files with 7 additions and 2 deletions
|
@ -14,5 +14,9 @@
|
|||
"typescriptreact"
|
||||
],
|
||||
"tsserver.formatOnType": true,
|
||||
"coc.preferences.formatOnType": true
|
||||
"coc.preferences.formatOnType": true,
|
||||
"yaml.schemaStore.enable": true,
|
||||
"yaml.schemas": {
|
||||
"kubernetes": "/*.yaml"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue