diff options
| author | Barrett Ruth <62671086+barrettruth@users.noreply.github.com> | 2026-07-13 08:08:09 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-13 09:08:09 -0400 |
| commit | 1665b992b7bd34f5130a37a973b292e580adc381 (patch) | |
| tree | 183a5a430a975ab5cc1dfe42baa0b0d86709dbd6 /runtime/lua/vim/provider/python.lua | |
| parent | 6ea01d37f8d129de28efddcdf0c04a3de6095ad8 (diff) | |
| download | rneovim-1665b992b7bd34f5130a37a973b292e580adc381.tar.gz rneovim-1665b992b7bd34f5130a37a973b292e580adc381.tar.bz2 rneovim-1665b992b7bd34f5130a37a973b292e580adc381.zip | |
fix(filetype): trigger FileType after BufReadCmd #40679
Problem:
A successful `BufReadCmd` can leave an existing `filetype` without
rerunning its `FileType` setup, so state cleared during reload may not
be restored.
This also causes `:edit`/reload syntax `directoryDirectory` groups to
not be reapplied.
Solution:
After `BufReadCmd` handles a read, trigger `FileType` for the existing
`filetype` if no `FileType` event fired during the read.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions