Permalink
Browse files

Revert "Reorganization of the init code in preparation for later chan…

…ges."

This reverts commit 4578121.
  • Loading branch information...
1 parent 5ef3961 commit 724fa23119ac049ab4aff99a81d2cc1d4c1c31a1 Matt Farmer committed Mar 1, 2012
Showing with 3 additions and 7 deletions.
  1. +3 −7 Support/ensime.rb
View
@@ -12,7 +12,6 @@
require SUPPORT_LIB + 'tm/htmloutput'
require SUPPORT_LIB + 'tm/process'
require SUPPORT_LIB + 'tm/save_current_document.rb'
-require SUPPORT_LIB + 'tm/detach.rb'
require BUNDLE_LIB + "ScalaParser.rb"
require BUNDLE_LIB + "sexpistol/sexpistol_parser.rb"
require BUNDLE_LIB + "sexpistol/sexpistol.rb"
@@ -53,14 +52,11 @@ def initialize_project
if !project_config.nil?
infoMsg = create_message("(swank:connection-info)")
projectMsg = create_message("(swank:init-project #{project_config})")
-
@socket.print(infoMsg)
- swankResponse = @parser.parse_string(get_response(@socket))
-
+ @parser.parse_string(get_response(@socket))
@socket.print(projectMsg)
- swankResponse = @parser.parse_string(get_response(@socket))
-
- puts "ENSIME is running. Please wait while it is analyzing your code."
+ @parser.parse_string(get_response(@socket))
+ puts "ENSIME is running. Please wait while it is analyzing your code"
else
puts "Please create a .ensime project file and place it your\nprojects root directory"
end

0 comments on commit 724fa23

Please sign in to comment.