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

nerdcommenter ignores alternate delims flag in haskell #342

Open
goolord opened this issue Jul 27, 2018 · 3 comments
Open

nerdcommenter ignores alternate delims flag in haskell #342

goolord opened this issue Jul 27, 2018 · 3 comments
Labels

Comments

@goolord
Copy link
Contributor

goolord commented Jul 27, 2018

More than occasionally, nerdcommenter will comment with multiline comments ({- -}) instead of single line comments (--) when

g:NERDAltDelims_haskell = 1.

I'm not sure why this is. Additionally, I'm not sure why nerdcommenter uses multi-line comments by default anyway, this is not idiomatic in haskell.

@alerque
Copy link
Member

alerque commented Jul 27, 2018

Is this what #343 addresses, or is this subtly different? I suspect if the default delimiter is set properly instead of being reversed (and everybody reverses this in their configs too!) this will right itself.

@goolord
Copy link
Contributor Author

goolord commented Jul 27, 2018

#343 would be a sort of hot fix, but ostensibly this suggests an underlying issue where

let NERDAltDelims_haskell = 1

is occasionally ignored.

@alerque alerque added the bug label Jul 28, 2018
@alerque
Copy link
Member

alerque commented Jul 28, 2018

In that case whatever underlying issue there is probably applies to all languages, no? I can't see any reason this issue (if it is one) would be specific to haskell, you just happened to stumble on it because you were using the alternate delimiters all the time. Or so I'm guessing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants