coc-vim: add linting for Sphinx and rst files
Co-Authored-by: iGor milhit <igor@milhit.ch>main
parent
d02bb711bd
commit
172b784763
3
init.vim
3
init.vim
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue