Showing posts with label emacs. Show all posts
Showing posts with label emacs. 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"?

Sunday, 16 February 2020

Getting the compilation output of asdf:load-system into SLIME

Running (asdf:load-system "my-project") in the SLIME REPL causes warnings and/or errors to be printed to the REPL, which is difficult to go through. In this post we explore a solution that does not receive much attention in beginner tutorials.