2016-05-25 23:43 GMT+03:00 Ben Fritz <[email protected]>:
> On Wednesday, May 25, 2016 at 2:24:01 PM UTC-5, Axel Bender wrote:
>> @ZyX
>>
>> The layout of my files is as follows:
>>
>> Z:\bin\vim\syntax\html.vim
>> Z:\bin\vim\syntax\markdown.vim
>>
>> Still, I get the following error message when editing a MD file:
>>
>> "readme.md" [unix] 136L, 5524C
>> Error detected while processing z:\bin\vim\syntax\html.vim:
>> line  209:
>> E409: Unknown group name: 
>> css.*Attr,css.*Prop,cssComment,cssLength,cssColor,cssURL,cssImportant,cssError,cssString,@htmlPreproc
>> E475: Invalid argument: htmlCssDefinition matchgroup=htmlArg start='style="' 
>> keepend matchgroup=htmlString end='"' 
>> contains=css.*Attr,css.*Prop,cssComment,cssLength,cssColor,cssURL,cssImportant,cssError,cssString,@htmlPreproc
>> "readme.md" line 37 of 136 --27%-- col 1
>>
>>
>> Making said change in markdown.vim has the error disappear.
>
> Making your suggested change in markdown.vim, would force the html ftplugin 
> file, and the html indent file, potentially an html colorscheme, various 
> "after" files, etc. to also get sourced.

?! It will not, Bram correctly said that command `runtime! html.vim`
and “command” `" Do nothing` are completely equivalent in this case.
What OP is doing is not loading HTML syntax file. Given that he said
he has custom HTML syntax file I guess this means that he created
broken (or not really broken, but file with incompatible changes) HTML
syntax file and now wants to “fix” his error by breaking HTML
highlighting in markdown syntax file.

>
> That is NOT what you want.
>
> I'd guess there is a problem with your runtimepath setting. Z:\bin\vim is 
> certainly not in the default runtimepath, so you're doing something wrong.
>
> Perhaps it's time to check out the new packages feature, you may find it 
> easier to use.
>
> --
> --
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui