diff --git a/lib/ruby_lsp/standard/wraps_built_in_lsp_standardizer.rb b/lib/ruby_lsp/standard/wraps_built_in_lsp_standardizer.rb index f38fbe1f..6ff4a50a 100644 --- a/lib/ruby_lsp/standard/wraps_built_in_lsp_standardizer.rb +++ b/lib/ruby_lsp/standard/wraps_built_in_lsp_standardizer.rb @@ -20,6 +20,13 @@ def run_diagnostic(uri, document) @standardizer.offenses(uri_to_path(uri), document.source, document.encoding) end + def run_range_formatting(_uri, _partial_source, _base_indentation) + # Not yet supported. Should return the formatted version of `partial_source` is a partial selection of the + # entire document. For example, it should not try to add a frozen_string_literal magic comment and all style + # corrections should start from the `base_indentation` + nil + end + private # duplicated from: lib/standard/lsp/routes.rb