Commits

Tamas Kovacs  committed 695fe7e

Use &ft instead of SlimvGetFiletype() for paredit

  • Participants
  • Parent commits 9ecc41f

Comments (0)

Files changed (1)

File plugin/paredit.vim

 " Include all prefix and special characters in 'iskeyword'
 function! s:SetKeyword()
     let old_value = &iskeyword
-    if SlimvGetFiletype() =~ '.*\(clojure\|scheme\).*'
+    if &ft =~ '.*\(clojure\|scheme\).*'
         setlocal iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94,~,#,\|,&
     else
         setlocal iskeyword+=+,-,*,/,%,<,=,>,:,$,?,!,@-@,94,~,#,\|,&,.,{,},[,]