Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've been trying to figure out a good way to do this for a while in vim, and can't say I've found much. The best i can figure is something to this effect:

  highlight LowVis ctermbg=233 guibg=233 ctermfg=240
  syn region LowVis start="\s*log_" end=";" contains=LowVis oneline


Have you tried `:help :match`? I'm not sure if I'm missing anything but this seems to do the same thing.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: