jackguo380 / vim-lsp-cxx-highlight

Vim plugin for C/C++/ObjC semantic highlighting using cquery, ccls, or clangd
MIT License
338 stars 26 forks source link

c multi line in macro "#ifdef #endif" , last line just previews few char has comment color (gray) #72

Closed WillDawnlll closed 3 years ago

WillDawnlll commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. 图片

Configuration (Fill this out):

Log File: Enable logging by adding these lines:

let g:lsp_cxx_hl_log_file = '/tmp/lsp-cxx-hl.log'
let g:lsp_cxx_hl_verbose_log = 1

Then post the contents of the log file:

<Log File Contents>

Additional context Add any other context about the problem here.

jackguo380 commented 3 years ago

Please file out the bug report template fully. Your code example also needs to be more than a screenshot, I'm not going to re-type it from the image, that's a waste of time.

Closing until this is done.

WillDawnlll commented 3 years ago

macro if content not important

#ifdef  MTEST_1
    printf("123");
    printf("123");
#endif