Commits

Anonymous committed 92e4d30

Disassemble command preselects function name even if it has to start swank server

Comments (0)

Files changed (1)

ftplugin/slimv.vim

 " slimv.vim:    The Superior Lisp Interaction Mode for VIM
 " Version:      0.9.12
-" Last Change:  07 Oct 2013
+" Last Change:  09 Nov 2013
 " Maintainer:   Tamas Kovacs <kovisoft at gmail dot com>
 " License:      This file is placed in the public domain.
 "               No warranty, express or implied.
 
 " Disassemble the selected function
 function! SlimvDisassemble()
+    let symbol = SlimvSelectSymbol()
     if SlimvConnectSwank()
-        let s = input( 'Disassemble: ', SlimvSelectSymbol() )
+        let s = input( 'Disassemble: ', symbol )
         if s != ''
             call SlimvCommandUsePackage( 'python swank_disassemble("' . s . '")' )
         endif