Sha256: 4ba54e578a0e64101470af8662e46ea8c70a67aea480a1bdced7225d4b4a7ef0
Contents?: true
Size: 562 Bytes
Versions: 5
Compression:
Stored size: 562 Bytes
Contents
module VimPrinter class Configuration attr_accessor :options def initialize @options = { # see: :help :TOhtml from Vim for detail html: [ "-c 'let g:html_expand_tabs = 1'", "-c 'let g:html_use_css = 1'", "-c 'let g:html_no_progress = 1'", "-c 'let g:html_number_lines = 0'" ] } end end class << self attr_accessor :configuration def configuration @configuration ||= Configuration.new end def configure yield configuration end end end
Version data entries
5 entries across 5 versions & 1 rubygems