From c447f291dbc67d3de1519c8b97fc3ca430668cf3 Mon Sep 17 00:00:00 2001 From: Edward Litherland-Smith Date: Fri, 7 May 2021 08:45:44 +0100 Subject: [PATCH] Add yaml filetype plugin Set filetype settings for yaml Enable yamllint for ALE if installed --- after/ftplugin/yaml.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 after/ftplugin/yaml.vim diff --git a/after/ftplugin/yaml.vim b/after/ftplugin/yaml.vim new file mode 100644 index 00000000..fb2bf275 --- /dev/null +++ b/after/ftplugin/yaml.vim @@ -0,0 +1,6 @@ +setlocal tabstop=2 +setlocal softtabstop=2 +setlocal shiftwidth=2 +setlocal expandtab + +let b:ale_linters = ['yamllint']