mirror of
https://github.com/neovim/neovim.git
synced 2026-10-24 22:57:53 -05:00
Problem: C keywords are matched using the characters from 'iskeyword',
so changing that option highlights part of an identifier as a
keyword and leaves keywords containing an underscore
unhighlighted.
Solution: Set the keyword characters with ":syn iskeyword".
fixes: vim/vim#21173
closes: vim/vim#21176
https://github.com/vim/vim/commit/5c9c5a43c183e8d1e4156b468343d0aa0f3b081c
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-Authored-By: Maxim Kim <habamax@gmail.com>