Compare commits

...

2 Commits

Author SHA1 Message Date
e8364c3ae1
Addded icons for diagnostic 2022-01-09 01:57:28 +01:00
4acd37269e
Added coc-ansible (ansible-lint) 2022-01-09 01:57:13 +01:00
2 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,8 @@
{
"diagnostic.errorSign": "❗",
"diagnostic.warningSign": "⚠️",
"diagnostic.infoSign": "",
"diagnostic.hintSign": "💡",
"yaml.schemaStore.enable": true,
"yaml.format.enable": true,
"yaml.validate": true,

View File

@ -140,7 +140,7 @@ call plug#begin('~/.config/nvim/plugged')
call plug#end()
" Coc
let g:coc_global_extensions = ['coc-solargraph', 'coc-go', 'coc-yaml', 'coc-pyright', 'coc-json' , 'coc-markdownlint' , 'coc-sh', 'coc-prettier', 'coc-diagnostic', 'coc-perl']
let g:coc_global_extensions = ['@yaegassy/coc-ansible', 'coc-solargraph', 'coc-go', 'coc-yaml', 'coc-pyright', 'coc-json' , 'coc-markdownlint' , 'coc-sh', 'coc-prettier', 'coc-diagnostic', 'coc-perl']
inoremap <silent><expr> <Nul> coc#refresh()
@ -341,6 +341,10 @@ map <F4> :setlocal spell! spelllang=pl<CR>
" Ansible
au BufRead,BufNewFile *.yml set filetype=yaml.ansible
autocmd BufWritePre *.yml :Prettier <CR>
let g:coc_filetype_map = {
\ 'yaml.ansible': 'ansible',
\ }
" Bash
autocmd FileType sh