diff options
| author | Eisuke Kawashima <e-kwsm@users.noreply.github.com> | 2025-05-31 01:34:50 +0900 |
|---|---|---|
| committer | Eisuke Kawashima <e-kwsm@users.noreply.github.com> | 2025-05-31 23:57:37 +0900 |
| commit | 41179a6bc125303d917c78bdc806983ccc5f287f (patch) | |
| tree | e8c0627bdfb83fad2659185ccaa9e6a77c5ec21b /runtime/lua/vim/_extui.lua | |
| parent | 2763d061008ab714266893a4892508948c6f9fbe (diff) | |
| download | rneovim-41179a6bc125303d917c78bdc806983ccc5f287f.tar.gz rneovim-41179a6bc125303d917c78bdc806983ccc5f287f.tar.bz2 rneovim-41179a6bc125303d917c78bdc806983ccc5f287f.zip | |
vim-patch:9.1.1342: Shebang filetype detection can be improved
Problem: Shebang filetype detection can be improved
Solution: Improve detection logic (Eisuke Kawashima)
Vim does not correctly detect filetype from
- `#!/usr/bin/env --split-string=awk -f`
- `#!/usr/bin/env -S -i awk -f`
- `#!/usr/bin/env -S VAR= awk -f`
So update the current detection logic to detect those cases.
closes: vim/vim#17199
https://github.com/vim/vim/commit/f102f4c2e80f5493a02a7b1130f11615d60b6295
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
Diffstat (limited to 'runtime/lua/vim/_extui.lua')
0 files changed, 0 insertions, 0 deletions