Commits

Meikel Brandmeyer committed e44d9c1

Clean up 'set' usage of a list

Comments (0)

Files changed (1)

vim/indent/clojure.vim

 
 		call vimclojure#util#MoveForward()
 		let keyword = vimclojure#util#Yank('l', 'normal! "lye')
-		for kw in [ 'deftype', 'defrecord', 'reify', 'proxy', 'letfn' ]
-			if kw == keyword
-				return 1
-			endif
-		endfor
+		if index([ 'deftype', 'defrecord', 'reify', 'proxy', 'letfn' ], keyword) >= 0
+			return 1
+		endif
+
 		return 0
 	endfunction