mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[nvim] enable coc.nvim for JSON5
This commit is contained in:
parent
b36f2a4d35
commit
3d856b1b3c
2 changed files with 2 additions and 1 deletions
|
@ -15,4 +15,5 @@ call coc#config('prettier', {
|
||||||
\ 'trailingComma': 'all',
|
\ 'trailingComma': 'all',
|
||||||
\ 'jsxBracketSameLine': v:true,
|
\ 'jsxBracketSameLine': v:true,
|
||||||
\ 'eslintIntegration': v:true,
|
\ 'eslintIntegration': v:true,
|
||||||
|
\ 'disableSuccessMessage': v:true
|
||||||
\ })
|
\ })
|
||||||
|
|
|
@ -6,4 +6,4 @@ augroup END
|
||||||
if !g:vim_ide | finish | endif
|
if !g:vim_ide | finish | endif
|
||||||
|
|
||||||
call coc#add_extension('coc-json')
|
call coc#add_extension('coc-json')
|
||||||
let g:coc_filetypes += ['json']
|
let g:coc_filetypes += ['json', 'json5']
|
||||||
|
|
Loading…
Reference in a new issue