diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-08-31 10:46:26 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-08-31 10:46:52 +0800 |
| commit | 8edcb401cff117318011ce3d2a746d1fd9341f70 (patch) | |
| tree | cc2d838e9436c6b3608dc1cff8c20c5d10899589 /runtime/syntax/python.vim | |
| parent | a61bd270d67231f1a3052d95a091ac2522eac948 (diff) | |
| download | rneovim-8edcb401cff117318011ce3d2a746d1fd9341f70.tar.gz rneovim-8edcb401cff117318011ce3d2a746d1fd9341f70.tar.bz2 rneovim-8edcb401cff117318011ce3d2a746d1fd9341f70.zip | |
vim-patch:5c9c5a4: runtime(c): syntax depends on the 'iskeyword' option
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>
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions