Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gvim filetype detection for *.c is wrong
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
JohnBlbec
Guru
Guru


Joined: 08 Feb 2003
Posts: 306

PostPosted: Tue Feb 05, 2013 6:10 pm    Post subject: gvim filetype detection for *.c is wrong Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum