Add yaml filetype plugin
Set filetype settings for yaml Enable yamllint for ALE if installed
This commit is contained in:
parent
26f618c26a
commit
c447f291db
6
after/ftplugin/yaml.vim
Normal file
6
after/ftplugin/yaml.vim
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
setlocal tabstop=2
|
||||||
|
setlocal softtabstop=2
|
||||||
|
setlocal shiftwidth=2
|
||||||
|
setlocal expandtab
|
||||||
|
|
||||||
|
let b:ale_linters = ['yamllint']
|
Loading…
Reference in a new issue