   :config
   (progn
     (which-key-mode)
-    (setq which-key-idle-delay 0.2))
+    (setq which-key-idle-delay 0.1))
   :diminish which-key-mode)
 
 (use-package undo-tree
   :config (global-undo-tree-mode)
   :diminish undo-tree-mode)
-
-(use-package smartparens
-  :config (progn
-            (require 'smartparens-config)
-            (smartparens-global-mode)))
-
-(use-package rainbow-delimiters
-  :init (add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
 
 (use-package magit)
 

  (not (null (x-list-fonts font))))
(defun choose-font-if-exists (font)
  "Set frame font to FONT if it exists."
  (if (and (display-graphic-p) (font-exists-p font))
      (set-frame-font font)
    (message "Didn't find font %s." font)))
(choose-font-if-exists "Dina 10")

;;; Enable all functions
(setq disabled-command-function nil)

  (define-key company-active-map (kbd key)
    `(menu-item nil company-complete
                :filter ,(lambda (cmd)
                           (when (company-explicit-action-p)
                             cmd)))))
(define-key company-active-map (kbd "TAB") #'company-complete-selection)
(define-key company-active-map (kbd "SPC") nil)
(setq company-auto-complete-chars nil)
