From e337f8270a1893de13d41f6dea6df8d816d00ae7 Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 23 Feb 2021 23:38:00 +0800 Subject: [PATCH] Add settings for YAML --- ftplugin/yaml.vim | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ftplugin/yaml.vim diff --git a/ftplugin/yaml.vim b/ftplugin/yaml.vim new file mode 100644 index 0000000..ad695d7 --- /dev/null +++ b/ftplugin/yaml.vim @@ -0,0 +1,4 @@ +" Turn off syntax highlighting for large YAML files. +if line('$') > 500 + setlocal syntax=OFF +endif