On Tue, 09 Feb 2010 01:04:50 +0100
Andy Wokula <[email protected]> wrote:

>Am 08.02.2010 23:25, schrieb Tarlika Elisabeth Schmitz:
>> On Mon, 08 Feb 2010 22:44:12 +0100
>> Andy Wokula<[email protected]>  wrote:
>>
>>> Am 08.02.2010 22:04, schrieb Tarlika Elisabeth Schmitz:
>>>> On Mon, 08 Feb 2010 21:15:11 +0100
>>>> Andy Wokula<[email protected]>   wrote:
>>>>
>>>>> Am 08.02.2010 20:51, schrieb Tarlika Elisabeth Schmitz:
>>>>
>>>> http://uploads.mitechie.com/configs/vim/vim/syntax/moin1_6.vim
>>>> This is what I am using.
>>>>
>>>> [...]
>>>
>>> ----------------------------------
>>> if !exists("did_dic_syntax_inits")
>>>    let did_dic_syntax_inits = 1
>>>    hi link moinComment         Comment
>>>    hi link moinInlineComment   Comment
>>>    ...
>>> endif
>>> ----------------------------------
>>>
>>> Once  g:did_dic_syntax_inits  is defined, it won't ever
>>> be reset; the ":hi" commands get no chance to be executed again.
>>
>> Removed if/endif - makes no difference as far as my problem is
>> concerned.
>
>Ok.  The moin syntax file makes use of  "hi def" statements, which
>define explicit colors.  These color settings will be removed
>(:hi clear) when loading another color scheme, whereas color links
>(:hi link ...) are not affected.
>
>
>You can try to add the following code to your vimrc:
>
>------------------------------------------
>au ColorScheme * call s:AfterColorScheme()
>
>func! s:AfterColorScheme()
>     hi moinBold       term=bold cterm=bold gui=bold
>     [...]
>     hi moinSmileys    ctermfg=yellow guifg=yellow
>endfunc
>------------------------------------------
>
>This explicitly sets the moin highlight groups again after switching to
>another color scheme.
>
>
>Alternatively, manually do
>     :e
>or
>     :set syn=moin

I have not yet tried the .vimrc suggestion (a bit of a desparate
measure) but I have tried the other two:

Neither :e nor :set syn=moin take effect.




-- 

Best Regards,
Tarlika Elisabeth Schmitz

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to