Closed ficoos closed 5 years ago
This means the function fails when opening a file before the first window is open. Also trying to align it with editorconfig settings becomes asymmetrical as it uses buffers as scope. Also, IMHO it's an odd setting to set differently for different windows. Why would you want this setting to change when moving to a different client?
Can you test buffer branch please?
Works for me.
I made it per window because filetype is usually set up with
winsetoption
hooks