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

String formatting is broken in Go. #2495

Closed
isaiah opened this issue Jul 31, 2015 · 6 comments
Closed

String formatting is broken in Go. #2495

isaiah opened this issue Jul 31, 2015 · 6 comments

Comments

@isaiah
Copy link

isaiah commented Jul 31, 2015

Shown as in the screen shot, it prevents me from typing ,
screenshot

@isaiah
Copy link
Author

isaiah commented Aug 1, 2015

This is the stacktrace, hope it helps:

Debugger entered--Lisp error: (wrong-type-argument commandp 1)
  call-interactively(1)
  go-mode-insert-and-indent(",,")
  call-interactively(go-mode-insert-and-indent nil nil)
  command-execute(go-mode-insert-and-indent)

@bogdanteleaga
Copy link
Contributor

Can confirm this happens on the latest develop. Seems to not be a problem if there's another error on the same line. Also the bug only happens when the tooltip is up.

@isaiah
Copy link
Author

isaiah commented Aug 1, 2015

Before an official fix is in place, you can add the following to the dotspacemacs/init block:

(setq flycheck-check-syntax-automatically '(new-line save))

@robbyoconnor
Copy link
Contributor

That's flycheck, not spacemacs, but something is definitely wrong :(

@StreakyCobra
Copy link
Contributor

@bogdanteleaga Does this still happen? The flycheck tooltip library has been changed, if it was the issue it may be solved.

@isaiah
Copy link
Author

isaiah commented Nov 12, 2015

It works now.

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

No branches or pull requests

5 participants