vim-jp / vim-cpp

c or cpp syntax files
147 stars 44 forks source link

add support for shared_ptr casts #51

Closed Smattr closed 4 years ago

Smattr commented 7 years ago

Note that this commit also introduces a new config variable, cpp_no_cpp17.

Thanks for providing this syntax file. Please let me know if you want any adjustments to the patch.

mattn commented 4 years ago

The keywords are already in vim's syntax/cpp.vim. Anyway thank you.

Smattr commented 4 years ago

Sorry, I think I'm misunderstanding something. I can't see anything in Vim's cpp.vim or upstream in this repo's cpp.vim that supports shared_ptr cast like dynamic_pointer_cast. Can you link to where these keywords exist?

mattn commented 4 years ago

Right, sorry. Will merge in later.

mattn commented 4 years ago

Thanks