coc-vim: add linting for Sphinx and rst files

Co-Authored-by: iGor milhit <igor@milhit.ch>
main
iGor milhit 2021-10-13 16:08:16 +02:00
parent d02bb711bd
commit 172b784763
Signed by: igor
GPG Key ID: 692D97C3D0228A99
1 changed files with 2 additions and 1 deletions

View File

@ -69,6 +69,7 @@ set cursorline " Co
set modeline " Support modelines set modeline " Support modelines
set termguicolors " Enable termguicolors set termguicolors " Enable termguicolors
set shada+=r/home/igor/network " Do not keep history when opening files on autofs mounted directories set shada+=r/home/igor/network " Do not keep history when opening files on autofs mounted directories
set shada+=r/home/igor/net " Do not keep history when opening files on autofs mounted directories
" Terminal " Terminal
au TermOpen * setlocal listchars= nonumber norelativenumber " Start terminal buffer without line numbering au TermOpen * setlocal listchars= nonumber norelativenumber " Start terminal buffer without line numbering
@ -231,7 +232,7 @@ function! s:show_documentation()
endfunction endfunction
" Install missing coc extensions " Install missing coc extensions
let g:coc_global_extensions = ['coc-html', 'coc-json', 'coc-css', 'coc-markdownlint', 'coc-git', 'coc-vimtex', 'coc-yaml'] let g:coc_global_extensions = ['coc-html', 'coc-json', 'coc-css', 'coc-markdownlint', 'coc-git', 'coc-vimtex', 'coc-yaml', 'coc-esbonio']
autocmd FileType scss setl iskeyword+=@-@ " Add @ to iskeyword option autocmd FileType scss setl iskeyword+=@-@ " Add @ to iskeyword option
let g:coc_filetype_map = { 'pandoc': 'markdown' } " Allow markdownlint to recognized pandoc filetype let g:coc_filetype_map = { 'pandoc': 'markdown' } " Allow markdownlint to recognized pandoc filetype