aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/snippet.lua
diff options
context:
space:
mode:
authorFamiu Haque <famiuhaque@proton.me>2023-10-22 00:59:47 +0600
committerFamiu Haque <famiuhaque@proton.me>2023-10-22 01:17:27 +0600
commit9d01385c6ca6e2ad950f14e0102a4e4e1dae6147 (patch)
tree34e9f89537e204e57544fe683177a829bbf262c0 /runtime/lua/vim/snippet.lua
parent40574b424f48308e06093031b1324509b64a8cc3 (diff)
downloadrneovim-9d01385c6ca6e2ad950f14e0102a4e4e1dae6147.tar.gz
rneovim-9d01385c6ca6e2ad950f14e0102a4e4e1dae6147.tar.bz2
rneovim-9d01385c6ca6e2ad950f14e0102a4e4e1dae6147.zip
fix(options): `'modified'` showing incorrect value for scratch buffers
Problem: #25716 removed the logic for getting the correct value of the `'modified'` option when using `nvim_buf_get_option()`. So the function now returns an incorrect value of `'modified'` for scratch buffers. Solution: Re-add the logic for getting the correct value of `'modified'`. Also make it so that the logic only exists in one place instead of being duplicated across multiple places in the code.
Diffstat (limited to 'runtime/lua/vim/snippet.lua')
0 files changed, 0 insertions, 0 deletions