aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_ftplugin
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-10-07 08:40:43 +0800
committerGitHub <noreply@github.com>2026-10-07 08:40:43 +0800
commit898e6f884e1331b92dc9deb5148091b32df017ca (patch)
tree4785d1f8cfed8077fb6ecd170b7775c6952759d1 /runtime/lua/vim/_ftplugin
parent8069d8b4825d0782dc2d13a8838059eb40a04c2d (diff)
downloadrneovim-898e6f884e1331b92dc9deb5148091b32df017ca.tar.gz
rneovim-898e6f884e1331b92dc9deb5148091b32df017ca.tar.bz2
rneovim-898e6f884e1331b92dc9deb5148091b32df017ca.zip
vim-patch:9.2.1169: getfsize() checks file type twice (#42261)
Problem: getfsize() checks the file type twice. Solution: Use S_ISDIR macro instead of calling mch_isdir() (Yasuhiro Matsumoto). On MS-Windows: 40.8 us -> 26.6 us for a file, 41.1 us -> 25.3 us for a directory. closes: vim/vim#21448 Assisted-by: AI https://github.com/vim/vim/commit/ea1e40e5e06b1a6a5abebe77223f4a7e36930a87 Co-authored-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_ftplugin')
0 files changed, 0 insertions, 0 deletions