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. 11
      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)

11
elpa/meghanada-1.3.1/meghanada.el

@ -1892,11 +1892,12 @@ If there are unimported classes, we will automatically import them as much as po
(meghanada--what-column)
(format "\"%s\"" symbol))))
(when output
(let ((file (nth 0 output))
(line (nth 1 output))
(column (nth 2 output)))
(list (xref-make file (xref-make-file-location file line column))))))
(message "client connection not established"))))
(let ((file (nth 0 output))
(line (nth 1 output))
(column (nth 2 output)))
(list (xref-make file (xref-make-file-location file line column))))))
)
(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