From dc9c3d98b15a58e589bdc626b10899bc176457c1 Mon Sep 17 00:00:00 2001 From: Vanessa McHale Date: Sat, 23 Dec 2017 14:57:59 -0600 Subject: [PATCH] package publish --- ftplugin/ats.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ftplugin/ats.vim b/ftplugin/ats.vim index 91ea825..f4319cf 100644 --- a/ftplugin/ats.vim +++ b/ftplugin/ats.vim @@ -4,7 +4,11 @@ endif let b:ats_ftplugin = 1 if !exists('g:ats_autoformat') - let g:ats_autoformat = 0 + if executable('atsfmt') == 1 + let g:ats_autoformat = 1 + else + let g:ats_autoformat = 0 + endif endif set smarttab