Sha256: 5533f9a9115963dd406e912cfeae67d031d9c20fb5b7da95778e0f33f4a3b8ff
Contents?: true
Size: 258 Bytes
Versions: 1
Compression:
Stored size: 258 Bytes
Contents
module Amun module ModeLineSegments # display major mode name in mode line class MajorMode def render(buffer) mode = buffer.major_mode.class.name.split('::').last " (#{mode}) ".colorize(:mode_line) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
amun-0.2.0 | lib/amun/mode_line_segments/major_mode.rb |