Commits

Taku Miyakawa committed 1215ea3

ftdetect plugin use "setlocal filetype" instead of "setfiletype", because the latter is weaker

  • Participants
  • Parent commits de62016
  • Tags version-1.0.1

Comments (0)

Files changed (1)

File ftdetect/kink.vim

 " Vim filetype detection file
 " Language:	Kink (http://code.google.com/p/kink-lang/)
 " Maintainer:	Miyakawa Taku <miyakawa.taku@gmail.com>
-" Last Change:  2013-02-05
+" Last Change:  2013-06-13
 
 " Copyright (c) 2013 Miyakawa Taku
 " 
 
 function s:DetectKink()
   if expand('%') =~ '\.kn$' || getline(1) =~ '#!.*\<kink\>'
-    setfiletype kink
+    setlocal filetype=kink
   endif
 endfunction