module ErrorHighlight::LocalSettings

The formatter settings are Ractor-local. On Ruby implementations without Ractor (e.g., JRuby), they are module instance variables instead, which are likewise shared by all threads. Unlike Hash, which is not thread-safe on JRuby, concurrent instance variable updates are serialized (github.com/jruby/jruby/wiki/Concurrency-in-jruby), so threads formatting errors concurrently cannot corrupt the settings.