aboutsummaryrefslogtreecommitdiff
path: root/ftplugin/yaml.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-02-23 23:38:00 +0800
committerjdhao <jdhao@hotmail.com>2021-02-23 23:38:00 +0800
commite337f8270a1893de13d41f6dea6df8d816d00ae7 (patch)
tree3e3fc1ec2eedc1ad80f29f0f6083730ceb4d4fe0 /ftplugin/yaml.vim
parente79a43c58bcce760c72af323af8911d29b49f548 (diff)
Add settings for YAML
Diffstat (limited to 'ftplugin/yaml.vim')
-rw-r--r--ftplugin/yaml.vim4
1 files changed, 4 insertions, 0 deletions
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