Skip to content

Commit

Permalink
Host only diagnoses synchronized sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
castwide committed Jan 13, 2019
1 parent 283b723 commit efa89e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/solargraph/language_server/host/dispatch.rb
Expand Up @@ -29,7 +29,7 @@ def update_libraries src
lib.merge src
cataloger.ping(lib) if lib.contain?(src.filename) || lib.open?(src.filename)
end
diagnoser.schedule file_to_uri(src.filename)
diagnoser.schedule file_to_uri(src.filename) if src.synchronized?
end

# Find the best libary match for the given URI.
Expand Down

0 comments on commit efa89e7

Please sign in to comment.