 			(setq whitespace-line-column 79))))
 (add-hook 'after-change-major-mode-hook
 	  '(lambda () (when (eq major-mode 'java-mode)
-			(setq whitespace-line-column 100))))
+(setq whitespace-line-column 100))))
 
 ;; editor stuff
 (editorconfig-mode 1)

(use-package company
  :ensure t)

(use-package cython-mode
  :ensure t)

(use-package dockerfile-mode
  :ensure t)

(use-package editorconfig
  :ensure t
  :config (editorconfig-mode 1))

(use-package elixir-mode
  :ensure t)

(use-package flycheck
  :ensure t
  :config (setq flycheck-clang-language-standard "c++14")
          (setq flycheck-python-pylint-executable "python3")
          (setq flycheck-python-flake8-executable "python3")
          (setq flycheck-checker 'python-flake8)
          (flycheck-add-next-checker 'python-flake8 'python-pylint)
          (global-flycheck-mode))

(use-package helm
  :ensure t
  :config (helm-mode 1)
          (helm-autoresize-mode 1)
          (setq helm-split-window-inside-p 1)
  :bind   (("M-x" . helm-M-x)
	   ("M-y" . helm-show-kill-ring)
	   ("C-x b" . helm-mini)
	   ("C-x C-f" . helm-find-files)
	   ("C-x f" . helm-find-files)))

(use-package jedi
  :ensure t
  :hook   (python-mode . 'jedi:setup)
  :config (setq jedi:complete-on-dot t))

(use-package json-mode
  :ensure t)

(use-package rainbow-delimiters
  :ensure t
  :hook   (prog-mode . rainbow-delimiters-mode))

(use-package rust-mode
  :ensure t)

(use-package undo-tree
  :ensure t
  :config (global-undo-tree-mode))

(use-package yaml-mode
  :ensure t)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; low tech manual configuration

;; theme
(add-to-list 'load-path "~/.emacs.d")
(load-theme 'indoors t)

;; ui stuff

(setq company-tooltip-align-annotations t)

;;; init.el ends here
