allow searching with list-return through copen
fix library loading for non-rbenv users.
Includes the following new commands: - SWSearchList which search the same way as SWSearch does but directly presents the user with a list of matches through copen (quickfix-list). - SWSL is an alias for SWSearchList - directly add SWS as alias for SWSearch to prevent ambiguous commands.
This includes code which fixes rename functionality for ruby 1.9.3 (the old fix only worked for versions above, and including, 2.0.0). It also fixes the expansion of wiki-pages.
also do not generate a seam for the top-level parent page.
Instead of directly printing to stdout expand now returns the full expansion. It is now up to the caller to decide what happens with the expansion (in our case we still print it).
This includes making the default filetype configurable and a fix for the rename (and rename-to) commands, which was non-functioning since the autochdir-patch was introduced.
The (now somewhat unrecent) autochdir change, required us to use absolute paths. However the change was not performed for the rename command. Now this should be supported due to a third mandatory argument (the path to the git-root).
make default filetype configurable
The g:soywiki_filetype variable can now be used to configure the filetype. Default remains "txt".
- also add some codedocumentation for the soyfile://-expansion function.
For autochdir compatibility it will first try to resolve the path relative to the current namespace; if this fails it will default back to a path relative to the wikis root directory. Also add a helper function to determine full namespace path.
- also fix issue in which an empty scheme was a valid URI. - and rename http_link_pattern to uri_link_pattern Since the pattern does actually match more than just http-scheme URIs it is renamed to reflect the content more precisely.
- File-Links can be supplied via the file:// schema and should work correctly in markdown and other formats.