mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-10-25 01:33:58 +02:00
The 'autochdir' option could be toggled on later in a session. So do not set the has_autochdir flag once the file is read, but evaluate it every time the corresponding function is called. While at it, get rid of the s:fmod variable. Instead let a helper function return the correct modifier flags depending on the value of the 'autochdir' option.