Showing posts with label lsp-mode. Show all posts
Showing posts with label lsp-mode. Show all posts

Monday, 9 November 2020

Force lsp-mode to update when I visit the buffer

I use lsp-mode to edit typescript project files in emacs. When I update definitions in a file, lsp flymake diagnostics are not updated in other files until I perform an edit on the other file. Having to insert a space character and then undo it to see the latest errors quickly becomes annoying. Is there a way to "trigger lsp check when I focus on the buffer"?