aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-03-18 19:01:01 +0800
committerGitHub <noreply@github.com>2024-03-18 19:01:01 +0800
commit66945e11b32ad648bc629581870ddd286d7c4673 (patch)
treea51ebaa8ac532525aa1b8ff76abbd03790b5b7fa /runtime/lua/vim/_options.lua
parenta1bab0394501a1ed6cd6f2ac4cbc7fd3f0e94de5 (diff)
downloadrneovim-66945e11b32ad648bc629581870ddd286d7c4673.tar.gz
rneovim-66945e11b32ad648bc629581870ddd286d7c4673.tar.bz2
rneovim-66945e11b32ad648bc629581870ddd286d7c4673.zip
refactor(messages): remove condition that is always true (#27909)
After #25470 the `s` pointer is advanced before calling store_sb_text() when a newline character is found, and store_sb_text() sets `sb_str` to `s`, so it's not possible for `s == sb_str + 1` and `*sb_str == '\n'` to be satisfied at the same time.
Diffstat (limited to 'runtime/lua/vim/_options.lua')
0 files changed, 0 insertions, 0 deletions