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

Yeah, it already does that. I just had a few different languages shown in the preview. I initially wanted to allow users to pick sample code from different languages to show up in the preview box, but ran out of time for the contest.

Vim handles the color and style of text by looking at what scope it's classified under, and then following rules that match that scope. I found this video to be really helpful when learning how things worked: http://vimcasts.org/episodes/creating-colorschemes-for-vim/



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

Search: