m-demare / hlargs.nvim

Highlight arguments' definitions and usages, using Treesitter
GNU General Public License v3.0
472 stars 10 forks source link

Added text decoration configuration item #74

Closed goakly closed 8 months ago

goakly commented 8 months ago

Added ability to use text decorations (italics, bold, underline, etc) via a configuration item called textDecorations.

This is my first attempt at Lua so let me know if there is a better way to do this.

m-demare commented 8 months ago

Hi! There's actually an option to allow text decorations already (it's called highlight) However, it doesn't work when using the colorpalette, so I think that's a great addition. Could you change that to use the existing option?

goakly commented 8 months ago

Didn't realize the highlight option could do text decoration. Rewrote so that the color palette could use options set in highlight and I added a section in readme outlining the feature!

goakly commented 8 months ago

Actually, feel like a section in the readme about text decoration is unnecessary. Removed.