 (use-package rust-mode
   :config (progn
 	    (setq rust-format-on-save t)
-	    (define-key rust-mode-map (kbd "TAB") #'company-indent-or-complete-common))
+	    (define-key rust-mode-map (kbd "TAB") #'company-indent-or-complete-common)))
 
 (setq company-tooltip-align-annotations t)
 

(eval-when-compile
  (require 'use-package))

(require 'use-package-ensure)
(setq use-package-always-ensure t)

;; Always compile packages, and use the newest version available.
(use-package auto-compile
  :config (auto-compile-on-load-mode))

(setq load-prefer-newer t)

(require 'use-package-ensure)

(setq use-package-always-ensure nil)

(defvar aim/is-darwin (eq system-type 'darwin))
(defvar aim/is-linux (eq system-type 'gnu/linux))


(aim/add-to-load-path "lisp")

(require 'uniquify)
(setq uniquify-buffer-name-style 'reverse)
(setq uniquify-separator "|")
(setq uniquify-after-kill-buffer-p t)
(setq uniquify-ignore-buffers-re "^\\*")

;; (use-package uniquify
;;   :config
;;   (progn
;;     (setq uniquify-buffer-name-style 'reverse)
;;     (setq uniquify-separator "|")
;;     (setq uniquify-after-kill-buffer-p t)
;;     (setq uniquify-ignore-buffers-re "^\\*")))

(use-package dockerfile-mode)

(require 'lisp-mode)
;;(bind-key "M-/" 'company-complete emacs-lisp-mode-map)
(add-hook 'emacs-lisp-mode-hook 'company-mode t)

;; (use-package lisp-mode
;;   :config
;;   (progn
;;     (bind-key "M-/" 'company-complete emacs-lisp-mode-map)
;;     (add-hook 'emacs-lisp-mode-hook 'company-mode t)))

(use-package ffap
  :config (ffap-bindings))
