Re: [bug] Syntax file for markdown uses semi-absolute path

2016-05-26 Fir de Conversatie Axel Bender
Thanks for the answer. I'll have to cope with it... -- -- 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

Re: [bug] Syntax file for markdown uses semi-absolute path

2016-05-26 Fir de Conversatie Bram Moolenaar
Axel Bender wrote: > Tracing the startup process, reading a MD file ("gvim -V readme.md") I > noticed that two HTML files were sourced: my own one in %VIM\.vim\syntax, > plus the original (unchanged) one in %VIM\syntax (rtp only contains the stems > of these two paths). > This is due to the

Re: [bug] Syntax file for markdown uses semi-absolute path

2016-05-26 Fir de Conversatie Axel Bender
@Christian well, that's easy: I don't use it ;-) I usually don't amend sth. to existing syntax files, but I rewrite them completely, so "runtime!" probably doesn't work in this case (while "syntax include" would...). -- -- You received this message from the "vim_dev" maillist. Do not

Re: [bug] Syntax file for markdown uses semi-absolute path

2016-05-26 Fir de Conversatie Christian Brabandt
Hi Axel! On Do, 26 Mai 2016, Axel Bender wrote: > Tracing the startup process, reading a MD file ("gvim -V readme.md") I > noticed that two HTML files were sourced: my own one in %VIM\.vim\syntax, > plus the original (unchanged) one in %VIM\syntax (rtp only contains the stems > of these two

Re: [bug] Syntax file for markdown uses semi-absolute path

2016-05-26 Fir de Conversatie Axel Bender
Tracing the startup process, reading a MD file ("gvim -V readme.md") I noticed that two HTML files were sourced: my own one in %VIM\.vim\syntax, plus the original (unchanged) one in %VIM\syntax (rtp only contains the stems of these two paths). This is due to the "runtime!" (mind the exclamation

Re: [bug] Syntax file for markdown uses semi-absolute path

2016-05-25 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2016-05-25 23:43 GMT+03:00 Ben Fritz : > 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

Re: [bug] Syntax file for markdown uses semi-absolute path

2016-05-25 Fir de Conversatie Bram Moolenaar
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

Re: [bug] Syntax file for markdown uses semi-absolute path

2016-05-25 Fir de Conversatie Ben Fritz
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

Re: [bug] Syntax file for markdown uses semi-absolute path

2016-05-25 Fir de Conversatie Axel Bender
@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:

Re: [bug] Syntax file for markdown uses semi-absolute path

2016-05-25 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2016-04-22 15:56 GMT+03:00 Axel Bender : > Opening a markdown file while having an own syntax file for HTML in another > directory (but accessible via ("runtime") gives me some errors. > > This is due to using "runtime! syntax/html.vim" command in markdown.vim (line

Re: [bug] Syntax file for markdown uses semi-absolute path

2016-05-25 Fir de Conversatie Axel Bender
Attached a patch for the above problem, after the author hasn't reported back for a month. -- -- 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

[bug] Syntax file for markdown uses semi-absolute path

2016-04-22 Fir de Conversatie Axel Bender
Opening a markdown file while having an own syntax file for HTML in another directory (but accessible via ("runtime") gives me some errors. This is due to using "runtime! syntax/html.vim" command in markdown.vim (line 15). Changing this to "runtime! html.vim" fixes this. -- -- You received