Skip to content

Instantly share code, notes, and snippets.

@andiogenes
Created December 1, 2022 04:45
Show Gist options
  • Save andiogenes/9760c0aeeac2c2a1f505f7b51f4a27d6 to your computer and use it in GitHub Desktop.
Save andiogenes/9760c0aeeac2c2a1f505f7b51f4a27d6 to your computer and use it in GitHub Desktop.
;; Enable Company in selected major modes
(let ((hooks '(java-mode-hook)))
(dolist (hook hooks)
(add-hook hook (lambda ()
(company-mode 1)))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment