 (add-hook 'before-save-hook 'delete-trailing-whitespace)
 
 ; indenting
-(setq indent-tabs-mode nil)
+(setq-default indent-tabs-mode nil)
 (setq-default tab-width 2)
-(setq standard-indent 2)
+(setq-default standard-indent 2)
 (setq-default fill-column 78)
+
+; language customizations
+(load-file "~/.emacs.d/settings/lang.el")
 
 (define-key global-map (kbd "RET") 'newline-and-indent)
 

; load custom abbreviations
(load-file "~/.emacs.d/abbrevs.el")

; language customizations
(load-file "~/.emacs.d/settings/lang.el")

; load flycheck
(add-hook 'after-init-hook #'global-flycheck-mode)

(custom-set-variables
 ;; custom-set-variables was added by Custom.

 ;; If there is more than one, they won't work right.
 '(default ((t (:inherit nil :stipple nil :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 110 :width normal :foundry "unknown" :family "terminus"))))
 '(fixed-pitch ((t (:family "terminus")))))

(provide 'init)

;;; init.el ends here
