aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter/language.lua
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2020-08-01 01:52:15 +0900
committererw7 <erw7.github@gmail.com>2020-08-02 22:33:18 +0900
commit872ecf65d10f0d22bbf3e2257f9ae89a6c61d2f4 (patch)
treebf1c44a2bd8c44be2114e00b8411971cb5ab6306 /runtime/lua/vim/treesitter/language.lua
parent1153ac9036ab62ee25078248a01dc56a2311b9a6 (diff)
downloadrneovim-872ecf65d10f0d22bbf3e2257f9ae89a6c61d2f4.tar.gz
rneovim-872ecf65d10f0d22bbf3e2257f9ae89a6c61d2f4.tar.bz2
rneovim-872ecf65d10f0d22bbf3e2257f9ae89a6c61d2f4.zip
ui: fix problem with sattr_T overflow
sattr_T was defined as uint16_t. But this is not enough to handle the 24-bit colors of the terminal. To solve this problem, change it to int. In 32bit, int may overflow. So, if it overflows, change it to ignore it without adding more attr_entries. fixes #12366
Diffstat (limited to 'runtime/lua/vim/treesitter/language.lua')
0 files changed, 0 insertions, 0 deletions