View previous topic :: View next topic |
Author |
Message |
gaffiere Guru


Joined: 13 Nov 2003 Posts: 406 Location: Provincia Milano
|
Posted: Tue Jul 06, 2004 11:44 pm Post subject: [Conf]Vim aggiungere syntax color |
|
|
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
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 |
|
 |
gaffiere Guru


Joined: 13 Nov 2003 Posts: 406 Location: Provincia Milano
|
Posted: Thu Jul 08, 2004 6:45 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|