 
 ;;;; MARKDOWN-MODE SETTINGS
 
-(require 'markdown-mode)
+(use-package markdown-mode
+  :ensure t)
 
 (add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
 (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-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))


;;;; PKGBUILD-MODE SETTINGS

(use-package pkgbuild-mode
  :ensure t)

(add-to-list 'auto-mode-alist '("/PKGBUILD$" . pkgbuild-mode))

;;;; SCAD-MODE SETTINGS

(use-package scad
  :ensure scad-mode)
(use-package scad-preview
  :ensure t)

;;(add-to-list 'auto-mode-alist '("\\.scad\\'" . scad-mode))

