From 7e4e41a07fbef6e9bf92cf0e2a94709744dd1db6 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 14 Jun 2022 16:03:40 +0200 Subject: [PATCH] home: vim: add 'tiger' file-type configuration --- home/vim/after/ftplugin/tiger.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 home/vim/after/ftplugin/tiger.vim diff --git a/home/vim/after/ftplugin/tiger.vim b/home/vim/after/ftplugin/tiger.vim new file mode 100644 index 0000000..81c2cfc --- /dev/null +++ b/home/vim/after/ftplugin/tiger.vim @@ -0,0 +1,6 @@ +" Create the `b:undo_ftplugin` variable if it doesn't exist +call ftplugined#check_undo_ft() + +" Use a small indentation value on tiger files +setlocal shiftwidth=2 +let b:undo_ftplugin.='|setlocal shiftwidth<'