preservim / nerdcommenter

Vim plugin for intensely nerdy commenting powers
Creative Commons Zero v1.0 Universal
4.97k stars 447 forks source link

Add support for Justfile #503

Closed brainwo closed 1 year ago

brainwo commented 1 year ago

Support for https://github.com/casey/just

brainwo commented 1 year ago

just uses # for shebang also (as shown here). For comments, they usually have a space. That is why I added a trailing space and I saw some entries in this file using trailing spaces.

I have updated this pull request and removing trailing spaces in other entries.

alerque commented 1 year ago

For comments, they usually have a space.

This misses the point. Many (perhaps even most) languages traditionally use spaces after comment delimiters. That's what this is for:

let g:NERDSpaceDelims = 1

Spaces are not a part of the justfile grammar: https://github.com/casey/just/blob/master/GRAMMAR.md#tokens