 
 ;;;; PKGBUILD-MODE SETTINGS
 
-(require 'pkgbuild-mode)
+(use-package pkgbuild-mode
+  :ensure t)
 
 (add-to-list 'auto-mode-alist '("/PKGBUILD$" . pkgbuild-mode))
 
 ;;;; SCAD-MODE SETTINGS
 
-(require 'scad "scad-mode")
-(require 'scad-preview)
+(use-package scad
+  :ensure scad-mode)
+(use-package scad-preview
+  :ensure t)
 
 ;;(add-to-list 'auto-mode-alist '("\\.scad\\'" . scad-mode))
 


;;;; WEB-MODE SETTINGS

(require 'web-mode)

(add-to-list 'auto-mode-alist '("\\.css\\'" . web-mode))
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))


;;;; MARKDOWN-MODE SETTINGS

(use-package markdown-mode
  :ensure t)

(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
