[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 highlightning xdefaults



I artikel <sslug@sslug>, skrev "Leo Laursen"
<sslug@sslug>:

> Hej
> 
> Jeg har lige sat min Debian op så ~/.Xresources (=.Xdefaults) er
> erstattet med et dir ".Xresources" med en masse program specifikke
> resource filer.
> 
> Når jeg åbner disse filer i Vim (6.0.aa) er der ikke syntax
> highlightning. Når jeg åbner de "systemiske" er der ingen problemer.
> 
> Jeg har nu klaret det ved at sætte flg . ~/.vimrc
> 
> 	if strlen("${HOME}/.Xresources/*")
> 		set syn=xdefaults
> 	endif

Nå det var ikke så smart, da syntaksen også bliver brugt på andre filer
hvilket i dette tilfælde er fejl markeringer når der er mere end 2 ord på
en linie. Ikke så fikst.
I stedet har jeg så sat "! vim: syn=xdefaults" i første linie af alle
filerne.
Leo


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 18:43 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] *