[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [VI] Syntax highlighting af fil med forkert extension?



On Sun, 31 Mar 2002 23:03:26 +0200
"Morten Egelund Rasmussen" <sslug@sslug> wrote:
> 
> Hejsa,
> 
> Hvordan fortæller jeg ViM at den fil jeg arbejder i er af en anden
> type end den, som fil-extension angiver.
> 
> Konkret, så arbejder jeg med en PHP-fil med extension ".mod". -- Det
> går selvfølgelig ikke godt m.h.t. syntax highlighting.
> 
> Kan man ikke med kommandoen ":syntax" fortælle ViM direkte, at den
> lige nu skal tolke min fil som en PHP-fil (bare indtil jeg afslutter
> programmet)?
> 
> På forhånd tak,
> 
> Morten
> 
> 
> PS: I min søgen faldt jeg forøvrigt lige over ":syntax sync
> fromstart", som er ret god at kende når man arbejder med PHP i ViM...

hvad med :

:set syntax=php 


MVH
Kim Schulz


-- 
www.schulz.dk  - En nørds bekendelser  | Be careful!  Is it
www.guadec.org - tapas, beer and gnome | classified? 
                                       | 


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 18:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *