Buffer specific config


Sublime Text has this notion of buffer specific config. This lets you modify your config in-memory for the active buffer without it being persisted globally. This comes in handy a lot. Let’s say you need to change the indentation just temporarily for a file, or maybe adjust the font-size for a presentation. I think this could be very powerful for plugins too.

For a specific use-case. I started working on an EditorConfig plugin which changes the editor config based on some rules in an .editorconfig file. For example it can toggle whitespace stripping, or whether the editor should ensure a newline at the end of the file.