1

Fix indentation

This commit is contained in:
Jessie Hildebrandt 2018-03-07 01:58:26 -05:00
parent be8dc8ca3e
commit c098d82079

24
init.el
View File

@ -74,15 +74,15 @@
;; Set up face styling for the default face. ;; Set up face styling for the default face.
(set-face-attribute 'default nil (set-face-attribute 'default nil
:family "Terminus (TTF)" :family "Terminus (TTF)"
:height 90) :height 90)
;; Set the default styling rules to use. ;; Set the default styling rules to use.
(setq-default (setq-default
tab-width 4 tab-width 4
c-basic-offset 4 c-basic-offset 4
c-default-style "bsd" c-default-style "bsd"
) )
;; Add a hook to trailing whitespaces before saving a file. ;; Add a hook to trailing whitespaces before saving a file.
(add-hook 'before-save-hook 'delete-trailing-whitespace) (add-hook 'before-save-hook 'delete-trailing-whitespace)
@ -94,13 +94,13 @@
;; Enable Modes ;; Enable Modes
(mapc (lambda (mode) (funcall mode 1)) (mapc (lambda (mode) (funcall mode 1))
'( '(
global-subword-mode ; Treats camel-case names as multiple words global-subword-mode ; Treats camel-case names as multiple words
global-visual-line-mode ; Enables whole-word line wrapping global-visual-line-mode ; Enables whole-word line wrapping
ido-mode ; Better directory and buffer completion ido-mode ; Better directory and buffer completion
column-number-mode ; Show column number in the mode line column-number-mode ; Show column number in the mode line
show-paren-mode ; Highlight matching parenthesis show-paren-mode ; Highlight matching parenthesis
size-indication-mode ; Show buffer size in the mode line size-indication-mode ; Show buffer size in the mode line
)) ))
;; Mode Configuration ;; Mode Configuration
(setq (setq
@ -197,8 +197,8 @@
("\\.rs\\'" . rust-mode) ("\\.rs\\'" . rust-mode)
:config :config
(set-face-attribute 'rust-string-interpolation-face nil (set-face-attribute 'rust-string-interpolation-face nil
:slant 'normal :slant 'normal
:foreground "red2")) :foreground "red2"))
;; Load Fish Mode ;; Load Fish Mode
;; (Associated files: .fish) ;; (Associated files: .fish)