Friday, April 20, 2012

filetype unknown on startup

Greetings,

I am running Vim version 7.3.154 on Ubuntu Oneiric. I'm a newbie, and I
just set up a .vimrc file with the following commands:

set nocompatible
set hlsearch
set incsearch
set number
set showmode
set syntax=ON
color elflord

All of the features I intended to set work like a charm, the problem is that
now every time I open a file in VIM, i get the following error:

filetype unknown
Press ENTER or type command to continue

It does this with all files I've tried to open, (.cpp, .c++, .txt and the
.vimrc itself) It appears to me that the filetype.vim file should allow for
all these to be detected, but I don't know for sure what I am reading.
Funny thing is, the syntax highlighting still works even though the filetype
is supposedly unknown.

Any guidance would be greatly appreciated.

--
View this message in context: http://vim.1045645.n5.nabble.com/filetype-unknown-on-startup-tp5655326p5655326.html
Sent from the Vim - General mailing list archive at Nabble.com.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment