Closed mattn closed 8 years ago
Although my understanding may not be correct, restrict
was firstly added to C99. So, I think it should be added to syntax/c.vim
.
I looked into it more.
restrict
is in C99 keywords but not in C++ keywords. So I think it is best that restrict
is highlighted as keyword in C but not highlighted in C++.
I looked syntax/c.vim
.
I think this condition should be fixed to !exists("c_no_c99") && s:ft !=# 'cpp'
.
Ah, he says highlighting restrict keyword in C++ is bad.
https://github.com/vim/vim/issues/623
okay, I'll suggest your change to bram.
thanks
:+1:
@rhysd @osyo-manga do you have something tought?