Skip to content

Commit bb9153d

Browse files
committed
Make typechecker errors vim quickfix friendly
Should probably be helpful for emacs afaik.
1 parent 262ae8e commit bb9153d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/solargraph/shell.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def typecheck *files
187187
problems = checker.problems
188188
next if problems.empty?
189189
problems.sort! { |a, b| a.location.range.start.line <=> b.location.range.start.line }
190-
puts problems.map { |prob| "#{prob.location.filename}:#{prob.location.range.start.line + 1} - #{prob.message}" }.join("\n")
190+
puts problems.map { |prob| "#{prob.location.filename}:#{prob.location.range.start.line + 1}: #{prob.message}" }.join("\n")
191191
filecount += 1
192192
probcount += problems.length
193193
end

0 commit comments

Comments
 (0)