mirror of
https://github.com/mentos1386/dotfiles.git
synced 2025-02-07 09:53:39 +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"
|
"typescriptreact"
|
||||||
],
|
],
|
||||||
"tsserver.formatOnType": true,
|
"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'}
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
let g:coc_global_extensions = [
|
let g:coc_global_extensions = [
|
||||||
\ 'coc-tsserver',
|
\ 'coc-tsserver',
|
||||||
\ 'coc-prettier'
|
\ 'coc-prettier',
|
||||||
|
\ 'coc-yaml'
|
||||||
\ ]
|
\ ]
|
||||||
|
|
||||||
if isdirectory('./node_modules') && isdirectory('./node_modules/prettier')
|
if isdirectory('./node_modules') && isdirectory('./node_modules/prettier')
|
||||||
|
|
Loading…
Reference in a new issue