   (auto-compile-on-save-mode)
   )
 
-(use-package dash
-  :ensure t)
-
-(use-package dash-functional
-  :ensure t)
-
-(use-package lsp-mode
-  ;; Emacs client/library for the Language Server Protocol 
-  :ensure t
-  ;; :init (setq lsp-keymap-prefix "s-l")
-  :hook (;; replace python-mode with concrete major-mode
-         (python-mode . lsp))
-  :commands lsp
-  :config
-  ;; Complete functions without argument list
-  (setq lsp-enable-snippet nil)
-  ;; Use Flake8 for syntax style
-  (setq-default lsp-pyls-configuration-sources ["flake8"])
-  (setq-default lsp-pyls-plugins-pylint-enabled nil)
-  ;; (add-hook 'lsp-after-initialize-hook 'lsp-ui-imenu)
-  )
-
-(use-package lsp-ui
-  :ensure t
-  :commands lsp-ui-mode
-  :config
-  ;; (setq lsp-ui-doc-enable t
-  ;; 	lsp-ui-doc-use-childframe t
-  ;; 	lsp-ui-doc-position 'top
-  ;; 	lsp-ui-doc-include-signature t
-  ;; 	lsp-ui-sideline-enable nil
-  ;; 	lsp-ui-flycheck-enable t
-  ;; 	lsp-ui-flycheck-list-position 'right
-  ;; 	lsp-ui-flycheck-live-reporting t
-  ;; 	lsp-ui-peek-enable t
-  ;; 	lsp-ui-peek-list-width 60
-  ;; 	lsp-ui-peek-peek-height 25)
-  (setq lsp-ui-doc-enable nil
-	lsp-prefer-flymake nil
-	lsp-ui-sideline-enable nil
-	lsp-ui-doc-use-childframe t
-	lsp-ui-doc-position 'bottom)
-  ;; Doc frame navigation
-  (global-set-key (kbd "C-x p s") 'lsp-ui-doc-show)
-  (global-set-key (kbd "C-x p f") 'lsp-ui-doc-focus-frame)
-  (global-set-key (kbd "C-x p u") 'lsp-ui-doc-unfocus-frame)
-  (global-set-key (kbd "C-x p i") 'lsp-ui-imenu)
-  )
-
-(use-package company-lsp
-  ;; Company completion backend for lsp-mode
-  :ensure t
-  :commands company-lsp
-  :config
-  (setq company-lsp-cache-candidates 'auto)
-  )
-  
-(use-package helm-lsp
-  :ensure t
-  :commands helm-lsp-workspace-symbol
-  )
-
 (use-package workgroups2
   ;; Restore layout. I use it only for keeping a persistent layout
   ;; for an emacs --daemon server

  (("C-x C-b" . buffer-menu)))

;;;;;;;;;;;;;;;;; MELPA PACKAGES

(use-package rainbow-delimiters
  ;; highlights delimiters such as parentheses, brackets or braces according to their depth.

  (add-hook 'c-mode-common-hook 'column-enforce-mode)
  (add-hook 'python-mode-hook 'column-enforce-mode)
  (add-hook 'matlab-mode-hook 'column-enforce-mode)
  )

(use-package jedi
  :ensure t
  :config
  (defun my/python-mode-hook ()
    (add-to-list 'company-backends 'company-jedi))
  (add-hook 'python-mode-hook 'my/python-mode-hook)
  )

(use-package company-jedi
  :ensure t
  :config
  (add-to-list 'company-backends 'company-jedi)
  )

(use-package hl-todo
