1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/error_highlight
Yusuke Endoh 23c8bc367c [ruby/error_highlight] Support hard tabs
Now, the highlight line is created by replacing non-tab characters with
spaces, and keeping all hard tabs as-is. This means the highlight line
has the completely same indentation as the code snippet line.

Fixes #7

38f20fa542
2021-07-13 16:51:02 +09:00
..
base.rb [ruby/error_highlight] Stop showing a code snippet if it has non-ascii characters 2021-07-12 16:48:15 +09:00
core_ext.rb [ruby/error_highlight] Suppress SyntaxError during RubyVM::AST.of 2021-07-02 16:48:20 +09:00
error_highlight.gemspec [ruby/error_highlight] Allow the development version (= master branch) of Ruby 3.1 2021-06-30 17:33:57 +09:00
formatter.rb [ruby/error_highlight] Support hard tabs 2021-07-13 16:51:02 +09:00
version.rb [ruby/error_highlight] Bump version 2021-06-30 13:36:31 +09:00