diff --git a/vim/formatting.vim b/vim/formatting.vim index 1fa57b4..1e351da 100644 --- a/vim/formatting.vim +++ b/vim/formatting.vim @@ -52,6 +52,7 @@ augroup filetype_specific_formatting autocmd FileType vue call FormatFileType(2, v:true, 'indent', 99, v:false) autocmd FileType go call FormatFileType(4, v:false, 'manual', 99, v:false) autocmd FileType json call FormatFileType(2, v:false, 'indent', 99, v:false) + autocmd FileType smarty call FormatFileType(2, v:true, 'indent', 99, v:false) augroup end let g:markdown_fenced_languages = ['javascript', 'json', 'python', 'bash', 'yaml', 'shell=zsh', 'sql']