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

Commenting does not work #14

Open
marcinkoziej opened this issue May 17, 2023 · 1 comment
Open

Commenting does not work #14

marcinkoziej opened this issue May 17, 2023 · 1 comment

Comments

@marcinkoziej
Copy link

I'm on Emacs GNU Emacs 29.0.60 (and Doom Emacs config package)

I can't seem to get commenting work, that is, when I

  1. start a comment // some comment
  2. press return
  3. I get a cursor at new line, but no // is added

I have all these gleam settings working:

  ;; Comment settings
  (setq-local comment-start "// ")
  (setq-local comment-end "")
  (setq-local comment-start-skip "//+ *")
  (setq-local comment-use-syntax t)
  (setq-local comment-auto-fill-only-comments t)
@marcinkoziej
Copy link
Author

I did some investingation and Emacs (forward-comment 1) does not move the cursor at all.. Might be some lower level issue? (tree sitter vs syntax checking by newcomment.el ?).
I can run tree-sitter-debug and see comments detected correctly.

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