Replies: 1 comment 3 replies
-
Try setting |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’m not sure whether I hit a bug, so I first ask for help. I use lsp-mode and flycheck with Go. Because I want to avoid false markings of syntax errors while I type, I set
(setq flycheck-check-syntax-automatically '(save))
.However, when I save and goimports adds import lines, almost all line numbers change and this confuses flymake. It marks errors in the old lines, which leads to garbled flycheck indicators (red underlinings in my setup).
What can I do about it?
I also tried flymake, however, I failed to find a counterpart of
(setq flycheck-check-syntax-automatically '(save))
in the flymake world. It perpetually checks for errors after each keystroke.Beta Was this translation helpful? Give feedback.
All reactions