Use java syntax in a file with a non java extension

17 views
Skip to first unread message

Matthew Ferguson

unread,
Sep 13, 2017, 7:02:43 AM9/13/17
to spf13-vim-discuss
Hi Guys :)

So this may be a trivial issue to resolve.

The company I work for has their own file format, and it contains java like code.

Right now there is no syntax highlighting when I open it their files with vim, after installing spf13.

Is there somewhere I can add their file extension to, in order to get have syntax highlighting?

Thanks!

Ps I did cp the file and replace their extension with .java and the syntax highlighting worked fine :)
Reply all
Reply to author
Forward
0 new messages