I'm a C/C++ professional programmer who domakes lots of spelling mistakes in commentcomments. I want my Vim to be configured inconfigure vim such a way that the spell-checker look words only inlooks for misspelled words within comments only. Even i'm readyIf necessary I'm willing to giveadd special symbol for start of comment and end ofsymbols around the comment.
Some thing like this... that vim can look for to know where to check, such as:
int main(){ /*<--C_S This is comment line in main function .. C_S-->*/ } so myIf the plugin should be able to fine symbol '/*<--C_S' ( if plug-in needs onlycan work without the '/*'C_S to figure out start of comment, that willsymbols that'd be sufficient for me) andeven better. I want the spell checker should height-lightchecker to highlight any spelling mistakes if there is anyit finds within comments.
Thanks Does this already exist? Or is it easy to write myself?