Permalink
Browse files

Well that was an embarrassing mistake

I had hardcoded MY package name and not the one read from the .ensime file. ups.
  • Loading branch information...
1 parent 16bf295 commit e6e9ea63ffd671b0829b311121c3b713c655023c @mads379 committed Dec 14, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Support/ensime.rb
View
2 Support/ensime.rb
@@ -146,7 +146,7 @@ def navigate
if !project_config.nil?
project_parsed = @parser.parse_string(project_config)
project_package = look_up(":project-package",project_parsed[0])
- msg = create_message('(swank:inspect-package-by-path "com.sidewayscoding")')
+ msg = create_message('(swank:inspect-package-by-path "'+project_package+'")')
@socket.print(msg)
response_parsed = @parser.parse_string(get_response(@socket))
root_package = look_up(":ok",look_up(":return",response_parsed[0]))

0 comments on commit e6e9ea6

Please sign in to comment.