Compare commits
2 Commits
7345373b74
...
e8364c3ae1
Author | SHA1 | Date | |
---|---|---|---|
e8364c3ae1 | |||
4acd37269e |
@ -1,4 +1,8 @@
|
|||||||
{
|
{
|
||||||
|
"diagnostic.errorSign": "❗",
|
||||||
|
"diagnostic.warningSign": "⚠️",
|
||||||
|
"diagnostic.infoSign": "ℹ️",
|
||||||
|
"diagnostic.hintSign": "💡",
|
||||||
"yaml.schemaStore.enable": true,
|
"yaml.schemaStore.enable": true,
|
||||||
"yaml.format.enable": true,
|
"yaml.format.enable": true,
|
||||||
"yaml.validate": true,
|
"yaml.validate": true,
|
||||||
|
@ -140,7 +140,7 @@ call plug#begin('~/.config/nvim/plugged')
|
|||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" Coc
|
" 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()
|
inoremap <silent><expr> <Nul> coc#refresh()
|
||||||
|
|
||||||
@ -341,6 +341,10 @@ map <F4> :setlocal spell! spelllang=pl<CR>
|
|||||||
|
|
||||||
" Ansible
|
" Ansible
|
||||||
au BufRead,BufNewFile *.yml set filetype=yaml.ansible
|
au BufRead,BufNewFile *.yml set filetype=yaml.ansible
|
||||||
|
autocmd BufWritePre *.yml :Prettier <CR>
|
||||||
|
let g:coc_filetype_map = {
|
||||||
|
\ 'yaml.ansible': 'ansible',
|
||||||
|
\ }
|
||||||
|
|
||||||
" Bash
|
" Bash
|
||||||
autocmd FileType sh
|
autocmd FileType sh
|
||||||
|
Loading…
Reference in New Issue
Block a user