Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use vim :TOhtml as fallback renderer #52

Merged
merged 2 commits into from
Jan 24, 2013

Conversation

trinitronx
Copy link
Contributor

In the case where GitHub::Markup cannot render a given filetype, it would be good to use vim's built-in :TOhtml command instead. This gives us the added capability of rendering any unrecognized file using vim's syntax highlighting!

The check for this capability should be really safe, as it is the same as used in the TOhtml plugin itself. (This also depends on my Pull Request #51 to work on Linux)

Screenshot

vim-Hammer-TOhtml-Screenshot

@wikimatze
Copy link
Owner

Thanks for your engagement and time spend on this feature.

wikimatze pushed a commit that referenced this pull request Jan 24, 2013
@wikimatze wikimatze merged commit 442d619 into wikimatze:master Jan 24, 2013
@trinitronx trinitronx deleted the vim-tohtml-fallback-renderer branch January 25, 2013 01:33
@trinitronx trinitronx restored the vim-tohtml-fallback-renderer branch January 25, 2013 01:37
@trinitronx trinitronx deleted the vim-tohtml-fallback-renderer branch January 25, 2013 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants