Skip to content

mvllow/supplement.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

supplement.nvim

Distinguish between the infamous en and em dashes

Install

Use your favourite package manager.

{
	"mvllow/supplement.nvim",
}

Usage

Run the initial setup:

require("supplement").setup()

You will now see virtual text supplementing en and em dashes like so:

"Self-reflection—--the key to understanding one's place in the universe—--requires a delicate balance between inner peace and external engagement, an age–-old challenge that spans centuries of human thought."

Notice the en and em dashes are followed by one and two hyphens, respectively.

Additional helper functions are included to manage the plugin state:

require("supplement").enable()
require("supplement").disable()
require("supplement").toggle()

Contributing

Pull requests are welcome and appreciated!

About

Distinguish between the infamous en and em dashes

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages