Sha256: 94740e0d423ca4977fb6373a93f3a486ffb2c62fed3a59c1563f2d3840104698
Contents?: true
Size: 563 Bytes
Versions: 8
Compression:
Stored size: 563 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
8 entries across 8 versions & 1 rubygems