[nvim] enable coc.nvim for JSON5

This commit is contained in:
Dmytro Meleshko 2019-11-09 22:00:23 +02:00
parent b36f2a4d35
commit 3d856b1b3c
2 changed files with 2 additions and 1 deletions

View File

@ -15,4 +15,5 @@ call coc#config('prettier', {
\ 'trailingComma': 'all',
\ 'jsxBracketSameLine': v:true,
\ 'eslintIntegration': v:true,
\ 'disableSuccessMessage': v:true
\ })

View File

@ -6,4 +6,4 @@ augroup END
if !g:vim_ide | finish | endif
call coc#add_extension('coc-json')
let g:coc_filetypes += ['json']
let g:coc_filetypes += ['json', 'json5']