summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
Diffstat (limited to '.emacs')
-rw-r--r--.emacs7
1 files changed, 6 insertions, 1 deletions
diff --git a/.emacs b/.emacs
index 5ab06e9..fc619f9 100644
--- a/.emacs
+++ b/.emacs
@@ -48,7 +48,8 @@
48;; Programming section 48;; Programming section
49 49
50;; Indentation 50;; Indentation
51(setq-default c-basic-offset 4 tab-width 4 indent-tabs-mode nil) 51;;(setq-default c-basic-offset 4 tab-width 4 indent-tabs-mode nil)
52(setq-default c-basic-offset 4 tab-width 4)
52 53
53;; Default coding style 54;; Default coding style
54(setq c-default-style "bsd") 55(setq c-default-style "bsd")
@@ -64,6 +65,10 @@
64(autoload 'php-mode "php-mode" "Mode for editing PHP source files") 65(autoload 'php-mode "php-mode" "Mode for editing PHP source files")
65(add-to-list 'auto-mode-alist '("\\.\\(inc\\|php[s34]?\\)" . php-mode)) 66(add-to-list 'auto-mode-alist '("\\.\\(inc\\|php[s34]?\\)" . php-mode))
66 67
68;; YAML
69(require 'yaml-mode)
70(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
71
67;; yasnippet 72;; yasnippet
68(require 'yasnippet) 73(require 'yasnippet)
69(yas-global-mode 1) 74(yas-global-mode 1)