Browse Source

Force java-8 for meghanada and fix simple bug

master
Raphael Roberts 5 years ago
parent
commit
c7c6af8f0a
  1. 2
      custom.el
  2. 3
      elpa/meghanada-1.3.1/meghanada.el

2
custom.el

@ -89,6 +89,8 @@
magit-insert-unpushed-to-upstream-or-recent
magit-insert-unpulled-from-pushremote
magit-insert-unpulled-from-upstream))
'(meghanada-java-path
"/usr/lib/jvm/java-8-openjdk/jre/bin/java")
'(menu-bar-mode nil)
'(org-babel-load-languages
'((emacs-lisp . t)

3
elpa/meghanada-1.3.1/meghanada.el

@ -1896,7 +1896,8 @@ If there are unimported classes, we will automatically import them as much as po
(line (nth 1 output))
(column (nth 2 output)))
(list (xref-make file (xref-make-file-location file line column))))))
(message "client connection not established"))))
)
(message "client connection not established")))
(cl-defmethod xref-backend-references ((_backend (eql meghanada)) symbol)
(if (and meghanada--server-process (process-live-p meghanada--server-process))

Loading…
Cancel
Save