Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 807 Bytes

README.md

File metadata and controls

35 lines (31 loc) · 807 Bytes

Better Comments

Demo

Installation

Install with your favorite plugin manager.

Configuration

You can configure different style and color tags like in the following example:

local HighlightTags = {}
HighilightTags["YOUR_TAG"] = {guifg='some_color', gui="<style(s)>"}
vim.g.highlightTags = HighlightTags

The gui property supports these values:

  • bold
  • underline
  • undercurl
  • inverse
  • italic
  • standout
  • nocombine
  • strikethrough

Defaults

The default Configurations are as follows:

HighlightTags = {}
HighlightTags["!"] = {guifg='#ff2d00'}
HighlightTags["?"] = {guifg='#1f98ff'}
HighlightTags["todo"] = {guifg='#ff8c00'}
HighlightTags["TODO"] = {guifg='#ff8c00'}
HighlightTags["*"] = {guifg='#98C379'}
vim.g.highlightTags = HighlightTags