How to make taglist recognize specific files with certain extensions as C source files?

How to make taglist recognize specific files with certain extensions as C source files?

You may try adding this line to your ~/.vimrc:

autocmd BufRead,BufNewFile *.c0 set filetype=c

Reference: https://stackoverflow.com/questions/9013263/vim-tagslist-plugin-not-detecting-custom-language-racket

Answered by Eric Z Ma.

Eric Z Ma

Eric is a father and systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *