This is update on things I've tried and the results I got. The bottom line is I 
have what I was seeking. The files I was concerned about are recognized as 
markdown and I have markdown functionality. 

Thanks to everyone who helped get me to the solution: Javier, Thilo, Tony, 
Gary, and Marcin.

========== 

Since my last post hear the developer of the plugin in question has provided a 
solution that is similar to one that's been suggested here, expect it was to be 
put in a new .vimrc that itself was to be put in the root directory of files 
created by the plugin. 

"to make soywiki files markdown
autocmd BufRead,BufNewFile * set filetype=markdown

At first I thought it was working. I got markdown syntax highlighting in the 
files but no folding on markdown headers, which I do have with markdown files 
defined elsewhere."

Subsequently I tried two of the solutions suggested here, both involving 
putting commands in my regular .vimrc:

==========

"another option for making soywiki files markdown
autocmd BufEnter * if &filetype == "" | setlocal filetype=markdown | endif

This gives me markdown syntax highlighting and folding on markdown headers on 
all my files, including those I've been concerned about, but not when opened by 
the plugin with which they were created. 

==========

"and still another option for making soywiki files markdown
autocmd BufEnter */documents/soywiki/*  setfiletype markdown

I was going to report that this one gave the same results as the previous one, 
but when I tried it just now it works. I have markdown syntax highlighting and 
folding on markdown headers open by the plugin.

Thanks again to all who helped,
------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA  USA
[email protected]




-- 
You received this message from the "vim_use" 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

Reply via email to