Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable meghanada-mode break the company completion in other major modes #158

Open
DogLooksGood opened this issue Dec 15, 2019 · 0 comments

Comments

@DogLooksGood
Copy link

Here's my configuration for Java


(defun user/java-setup ()
  (meghanada-mode t)
  (flycheck-mode 1)
  (smartparens-mode)
  (sp-local-pair 'rust-mode "<" ">")
  (setq c-basic-offset 4))

(use-package meghanada
  :bind
  (:map meghanada-mode-map
        ("C-c C-c C-r" . 'meghanada-exec-main))
  :init
  (setq flycheck-idle-change-delay 2)
  (add-hook 'java-mode-hook 'user/java-setup))

When I open an java file, meghanada works without problem. However then I switch to other languages, (for example, elisp), the company completion won't work. Looks like company-backends is affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant