Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ft/fennel): fix double semicolon commentstring #304

Merged
merged 1 commit into from Feb 16, 2023
Merged

fix(ft/fennel): fix double semicolon commentstring #304

merged 1 commit into from Feb 16, 2023

Conversation

atchim
Copy link
Contributor

@atchim atchim commented Feb 2, 2023

This PR fixes the double semicolons used to comment Fennel files.

@numToStr
Copy link
Owner

Just curious, Is this a syntax error? Because even in the home page they are using double semicolon for comments.

@atchim atchim changed the title fix(ft/fennel): fix double comma commentstring fix(ft/fennel): fix double semicolon commentstring Feb 14, 2023
@atchim
Copy link
Contributor Author

atchim commented Feb 14, 2023

It is not a syntax error, but despite the official Fennel home page, the common practice is to use only 1 semicolon. Also, the commentstring for Fennel uses 1 semicolon by default.

verbose set commentstring
"  commentstring=;%s
"        Last set from /usr/share/nvim/runtime/ftplugin/fennel.vim line 11

I was mistakenly referring to semicolon as "comma", sorry.

@numToStr
Copy link
Owner

Fair enough! I don't have a strong opinion as I don't write fennel myself, so this is good to me :)

@numToStr numToStr merged commit 6821b3a into numToStr:master Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants