flycheck / flycheck-inline

Display Flycheck errors inline
GNU General Public License v3.0
137 stars 10 forks source link

Flycheck next/previous error functions do not trigger flycheck-inline #18

Closed cheeze2000 closed 2 years ago

cheeze2000 commented 4 years ago

Actual behaviour

Suppose my cursor was somewhere in line 3, after doing C-c ! n which is (flycheck-next-error), the cursor will jump to the error (the pink underlined text) but there will be no error displayed.

actual

Expected behaviour

Since the underlined text is 2 characters, a workaround that I could use is C-c ! n and then C-f which will show me the error where the cursor is right at 's'. However, I am not sure if this is intended or not because if commands like C-f and C-b work, there is no reason for C-c ! n to not work.

expected

Emacs 26.3 with flycheck and flycheck-inline as well as ghc installed Ubuntu 20.04 LTS

loafofpiecrust commented 4 years ago

If you wanted to try out my branch, I think #17 might fix this issue as well, at least it works correctly when I try it in rustic-mode.

fmdkdd commented 3 years ago

@cheeze2000 is your issue fixed with @loafofpiecrust's patch merged into master?