Skip to content

Commit

Permalink
Change the number of spaces pygments will use in place of tabs to 2 i…
Browse files Browse the repository at this point in the history
…nstead of the eye busting default of 8.
  • Loading branch information
Rob Tsuk committed Sep 7, 2011
1 parent ccec54a commit 9e433f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/docco.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/docco.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ parse = (source, code) ->
# wherever our markers occur.
highlight = (source, sections, callback) ->
language = get_language source
pygments = spawn 'pygmentize', ['-l', language.name, '-f', 'html', '-O', 'encoding=utf-8']
pygments = spawn 'pygmentize', ['-l', language.name, '-f', 'html', '-O', 'encoding=utf-8,tabsize=2']
output = ''

pygments.stderr.addListener 'data', (error) ->
Expand Down

0 comments on commit 9e433f4

Please sign in to comment.