diff -up nesc-1.3.2/tools/editor-modes/vim/filetype.vim.fix nesc-1.3.2/tools/editor-modes/vim/filetype.vim --- nesc-1.3.2/tools/editor-modes/vim/filetype.vim.fix 2010-08-18 07:34:45.099630879 +0530 +++ nesc-1.3.2/tools/editor-modes/vim/filetype.vim 2010-08-18 07:38:56.646635200 +0530 @@ -1,10 +1,2 @@ -" If ~/.vim/filetype.vim does not exist, install this file there. -" Otherwise, hand merge it with the existing ~/.vim/filetype.vim. - -if exists("did_load_filetypes") - finish -endif -augroup filetypedetect - au! BufRead,BufNewFile *.nc setfiletype nesc -augroup END - +" install in ~/.vim/ftdetect/nesc.vim +au! BufRead,BufNewFile *.nc setfiletype nesc