run_diagnostic(uri, document)
def run_diagnostic(uri, document)
nil
end
run_formatting(uri, document)
def run_formatting(uri, document)
path = uri.to_standardized_path
return if path && @options.ignore_files.any? { |pattern| File.fnmatch?("*/#{pattern}", path) }
SyntaxTree.format(document.source, @options.print_width, options: @options.formatter_options)
end