Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Conf]Vim aggiungere syntax color
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
gaffiere
Guru
Guru


Joined: 13 Nov 2003
Posts: 406
Location: Provincia Milano

PostPosted: Tue Jul 06, 2004 11:44 pm    Post subject: [Conf]Vim aggiungere syntax color Reply with quote

Salve gente, innanzi tutto: è giusto il tag o devo mettere OT?

passiamo ora alla domanda.
vorrei aggiungere al buon vecchio vim, e perchè no anche a gvim la seguente sintassi: http://www.vim.org/scripts/script.php?script_id=581
me la copio in /usr/share/vim/vim63, edito il file filtetype.vim aggiungendo la riga:
Code:
" Cg
au BufNewFile,BufRead *.cg,*.fx                       setf cg

apro un nuovo file cg
Code:
vim test.cg

ma non mi evidenzia nulla.
qualche idea?
per gvim?

grazie a tutti
See ya
_________________
Thomaz "Gaffiere"
Middle-Earth XP2200+, 1Gb Ram, 80Gb + 160Gb Hd, SbLive!, Nvidia 6800GT AGP8x
Gentoo Gnu/Linux 2.6.12-gentoo-r10
Back to top
View user's profile Send private message
gaffiere
Guru
Guru


Joined: 13 Nov 2003
Posts: 406
Location: Provincia Milano

PostPosted: Thu Jul 08, 2004 6:45 pm    Post subject: Reply with quote

ma almeno come ho fatto è la procedura corretta? dai vari man direi di si...
per capire a sto punto se è il cg.vim che non è "corretto"

see ya
_________________
Thomaz "Gaffiere"
Middle-Earth XP2200+, 1Gb Ram, 80Gb + 160Gb Hd, SbLive!, Nvidia 6800GT AGP8x
Gentoo Gnu/Linux 2.6.12-gentoo-r10
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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