thank you. I patch it into vim 7.4.542. It seems to be correct ...almost! I found it has another problem, maybe I should not use this conceal feature. :(
example: 1. open test_2.c. 2. change settings. :set list :set listchars=tab:\|- :syntax match Conceal conceal cchar=> 'MSG_MODE_' :set conceallevel=1 3. problem setting, some tab char replace by spaces. :set lbr -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
#include <stdio.h> #define ABC 1 #define ABCD 1 #define ABCDE 1 #define AB_C 1 #define AB_CD 1 #define AB_CDE 1 #define MSG_MODE_FILE 0 #define MSG_MODE_CONSOLE 1 #define MSG_MODE_FILE_AND_CONSOLE 2 #define MSG_MODE_FILE_THEN_CONSOLE 3 int main() { return 0; }