Commits

Tamas Kovacs committed 7b11e23

Bugfix: package name not found when 'noignorecase' was set

  • Participants
  • Parent commits 3c2d1ba

Comments (0)

Files changed (1)

ftplugin/slimv.vim

 " slimv.vim:    The Superior Lisp Interaction Mode for VIM
 " Version:      0.9.12
-" Last Change:  12 Nov 2013
+" Last Change:  15 Nov 2013
 " Maintainer:   Tamas Kovacs <kovisoft at gmail dot com>
 " License:      This file is placed in the public domain.
 "               No warranty, express or implied.
         return
     endif
     let oldpos = winsaveview()
+    let save_ic = &ignorecase
+    set ignorecase
     if SlimvGetFiletype() =~ '.*clojure.*'
         let string = '\(in-ns\|ns\)'
     else
             let s:swank_package = ''
         endif
     endif
+    let &ignorecase = save_ic
     call winrestview( oldpos )
 endfunction