-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The plugin doesn't apply indention settings to new files (check e.g. vim foo
).
As I see it, there's two ways to fix that:
- Add
BufNewFile
to the existingBufReadPost
autocmd
in https://github.com/Raimondi/yaifa/blob/master/plugin/yaifa.vim#L39 - Keep the default vimrc indention settings/do nothing whenever indention settings cannot be identified for a file. Essentially this would allow you to remove most of the existing yaifa settings and save a bit of performance & code.
Personally I like option 2 more, but maybe I overlooked something.
Side Note: https://github.com/Raimondi/yaifa/blob/master/doc/yaifa.txt#L124 is not about yaifa_disabled
.
Other than that thanks a lot for this nice plugin! Keep on hacking! :-)
Metadata
Metadata
Assignees
Labels
No labels