-
Notifications
You must be signed in to change notification settings - Fork 347
Customizable module template #462
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
Comments
As an alternate way of doing things, I instead use
|
Making it customizable by a format string seems fine. The PR should preserve the existing behaviour with a default customization which matches what it already does. |
MichaelXavier
added a commit
to MichaelXavier/haskell-mode
that referenced
this issue
Feb 13, 2015
This resolves haskell#462
MichaelXavier
added a commit
to MichaelXavier/haskell-mode
that referenced
this issue
Feb 13, 2015
This resolves haskell#462
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wanted to see if you'd take a PR to change
haskell-auto-insert-module-template
to use a customizeable var. At my work we use a different indentation for module headings so while I use this feature, I always have to manually reformat. I was thinking the var could be informat
style: "--|\nimport %s where\n". Here's the relevant code.haskell-mode/haskell-mode.el
Line 1036 in af34d4e
If you would take a PR, should I keep the same function name, or make it
haskell-apply-auto-insert-template
, or if not, what would you like the var named?The text was updated successfully, but these errors were encountered: