formatting on editorconfig preview

I am writing a Lua format plugin that reads config from .editorconfig. I noticed that the editorconfig file has a preview mode, but nothing happens in the preview when I modify the editorconfig file.

my formatter inherits from AsyncDocumentFormattingService. I observed that I cannot get the document in formatRanges method. Is there any way for me to format this preview?


Please sign in to leave a comment.