Skip to content

A VSCode style Better Comments Plugin for Neovim built in Lua

License

Notifications You must be signed in to change notification settings

devanlooches/better-comments-nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A VSCode style Better Comments Plugin for Neovim built in Lua

Resources

License

Stars

Watchers

Forks

Packages

No packages published