diff --git a/ftplugin/slimv.vim b/ftplugin/slimv.vim index 940fc185..0342230a 100644 --- a/ftplugin/slimv.vim +++ b/ftplugin/slimv.vim @@ -1,6 +1,6 @@ " slimv.vim: The Superior Lisp Interaction Mode for VIM " Version: 0.9.14 -" Last Change: 11 Apr 2017 +" Last Change: 17 Apr 2017 " Maintainer: Tamas Kovacs " License: This file is placed in the public domain. " No warranty, express or implied. @@ -1829,6 +1829,10 @@ function! SlimvIndentUnsafe( lnum ) if match( func, 'defn$' ) >= 0 return c + 1 endif + elseif SlimvGetFiletype() =~ '.*\(scheme\|racket\).*' + if match( func, 'syntax-rules$' ) >= 0 + return c + 1 + endif else if match( func, 'defgeneric$' ) >= 0 || match( func, 'defsystem$' ) >= 0 || match( func, 'aif$' ) >= 0 return c + 1