Hi,

I use nesC's filetype detection, which works fine if I use "vi
filename.nc" to edit a file. However, if I'm already in the vim
environment, and use ":e filename.nc" to open a file, there is no
syntax highlight. I searched a long time but cannot fix it. Could
anybody help me? Thanks!

By the way, I'm using vim 7.2 in Ubuntu 8.10, and the filetype.vim is:
  if exists("did_load_filetypes")
    finish
  endif
  augroup filetypedetect
    au! BufRead,BufNewFile *.nc   setfiletype nesc
  augroup END

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to