Changed in neovim

Signed-off-by: Marcin Woźniak <marcin.wozniak@wundermanthompson.com>
This commit is contained in:
Marcin Woźniak 2023-03-21 07:39:39 +01:00
parent e530968eac
commit 8b55c92799

View File

@ -230,6 +230,9 @@ require'lspconfig'.yamlls.setup{
["https://github.com/ansible/schemas/blob/main/f/ansible.json"] = "*.yaml,*.yml"
}
},
yaml = {
keyOrdering = false
},
}
}
@ -611,7 +614,7 @@ autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q!<CR>
autocmd BufRead,BufNewFile *.yaml let g:indentLine_enabled = 1
autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙'
au BufRead,BufNewFile *.yaml,*.yml if search('hosts:\|tasks:', 'nw') | set ft=yaml.ansible | endif
" autocmd BufWritePre * silent! undojoin | Neoformat prettier
autocmd BufWritePre * silent! undojoin | Neoformat prettier
" GoLang
autocmd BufRead *.go set noexpandtab