Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save zeta-00/3de9396da9eec172fa992030530b584b to your computer and use it in GitHub Desktop.
Save zeta-00/3de9396da9eec172fa992030530b584b to your computer and use it in GitHub Desktop.
here is my the piece of my .emacs code that i am trying to use:
;;------------------------------------------------------------------
;; emacs-ipython-notebook configuration:
(add-hook 'after-init-hook 'global-company-mode)
(require 'haskell-doc)
(require 'company)
(require 'ein)
(require 'ein-jupyter)
;; (setq ein:log-set-level 'debug)
(setq ein:polymode t)
(setq ein:notebook-modes '(ein:notebook-multilang-mode))
(setq ein:completion-backend 'ein:use-none-backend)
(add-hook 'haskell-mode-hook
(lambda ()
(set (make-local-variable 'company-backends)
(append '((company-capf company-dabbrev-code))
company-backends))))
;;------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment