JohnBlbec Guru
Joined: 08 Feb 2003 Posts: 306
|
Posted: Tue Feb 05, 2013 6:10 pm Post subject: gvim filetype detection for *.c is wrong |
|
|
hello,
it is very strange behaviour. if i open some .c file using vim, filetype is set to c correctly. the same for cpp but
when i open the same file using gvim, filtetype is set to conf :-o
(btw. i am using the same .vimrc setting for vim and gvim)
vim :verbose set filetype? syntax?
Code: |
filetype=c
Last set from /usr/share/vim/vim73/filetype.vim
syntax=c
Last set from /usr/share/vim/vim73/syntax/syntax.vim
|
gvim :verbose set filetype? syntax?
Code: |
filetype=conf
Last set from /usr/share/vim/vim73/filetype.vim
syntax=conf
Last set from /usr/share/vim/vim73/syntax/syntax.vim
|
|
|