import { DocumentSelector , ExtensionContext } from 'vscode' ; import { RubyDocumentFormattingEditProvider } from '../format/rubyFormat' ; export function registerFormatter ( ctx , documentSelector ) { new RubyDocumentFormattingEditProvider ( ) . register ( ctx , documentSelector ) ; }