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

Bad syntax highlighting with space sensitive syntax #25

Open
minijackson opened this issue Nov 29, 2014 · 2 comments
Open

Bad syntax highlighting with space sensitive syntax #25

minijackson opened this issue Nov 29, 2014 · 2 comments

Comments

@minijackson
Copy link

I noticed that the syntax highlighting fails with very peculiar languages, that is languages that need to be at the start of the line. For example, I wanted to include a git commit file wrapped around the gitcommit_ and _ tags and because vimdeck indents the content of the slides, the syntax highlighting fails. I have no idea how to solve this though, sorry...

@tybenz
Copy link
Owner

tybenz commented Nov 29, 2014

I'll take a closer look. For now you can use the --no-indent flag:

Usage: vimdeck [<command>] [<file>]

Commands:

  slideshow          generate and show slides (default)
  generate           generate slides only
  open               open slides in presentation folder (no file needed)

Options:

  --mouse, -m        mouse support for navigating slides
  --no-indent, -I    skip indentation
  --no-ascii, -A     skip ascii headers
  --no-filetype, -n  use vim's plaintext syntax highlighting
  --header-font, -h  specify header font (http://www.figlet.org/fontdb.cg
                     foregoes the ability to have small and large headers

@minijackson
Copy link
Author

Thank you!

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

No branches or pull requests

2 participants