Skip to content

Commit 144480f

Browse files
authored
Make typechecker errors vim quickfix friendly (#1072)
Should probably be helpful for emacs afaik.
1 parent 89acec9 commit 144480f

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
@@ -259,7 +259,7 @@ def typecheck *files
259259
next if problems.empty?
260260
problems.sort! { |a, b| a.location.range.start.line <=> b.location.range.start.line }
261261
puts problems.map { |prob|
262-
"#{prob.location.filename}:#{prob.location.range.start.line + 1} - #{prob.message}"
262+
"#{prob.location.filename}:#{prob.location.range.start.line + 1}: #{prob.message}"
263263
}.join("\n")
264264
filecount += 1
265265
probcount += problems.length

0 commit comments

Comments
 (0)