]> git.lizzy.rs Git - rust.git/commitdiff
emacs: Fix (void-variable rust-analyzer--last-runnable)
authorFlorian Diebold <flodiebold@gmail.com>
Sat, 2 Mar 2019 19:58:06 +0000 (20:58 +0100)
committerFlorian Diebold <flodiebold@gmail.com>
Sun, 3 Mar 2019 02:00:17 +0000 (03:00 +0100)
editors/emacs/ra-emacs-lsp.el

index 4af65c7f022daa547aedc2e5b4cf5608f3685666..780182f8aa817ffcc5e9459d0a9a6a199bbca114 100644 (file)
   (add-hook 'rust-mode-hook 'rust-analyzer--add-er-expansion))
 
 ;; runnables
-(defvar rust-analyzer--last-runnable)
+(defvar rust-analyzer--last-runnable nil)
 
 (defun rust-analyzer--runnables-params ()
   (list :textDocument (lsp--text-document-identifier)