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

bug with easy menu when smie off #38

Closed
Matafou opened this issue Feb 25, 2015 · 1 comment
Closed

bug with easy menu when smie off #38

Matafou opened this issue Feb 25, 2015 · 1 comment

Comments

@Matafou
Copy link

Matafou commented Feb 25, 2015

Hi! I found a bug when smie is off on the current github version of tuareg. Here is a patch to solve it:

--- a/tuareg.el
+++ b/tuareg.el
@@ -333,7 +333,7 @@ Valid names are browse-url',browse-url-firefox', etc."
`(("Automatic indentation of leading keywords" . 'tuareg-use-abbrev-mode)
("Automatic indentation of ), ] and }" . 'tuareg-electric-indent)
,@(unless tuareg-use-smie

  •    '("Automatic matching of [| and {<" . 'tuareg-electric-close-vector))
    
  •    '(("Automatic matching of [| and {<" . 'tuareg-electric-close-vector)))
    

    "---"
    ,@(unless tuareg-use-smie
    '(("Indent body of comments" . 'tuareg-indent-comments)

@Matafou
Copy link
Author

Matafou commented Feb 25, 2015

careful the - and + at start of lines are rendered as bullets in this interface.
Sorry I didn't feel this small fix was worth a github clone.

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

No branches or pull requests

1 participant