summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorSimeon Simeonov2019-01-08 10:41:09 +0100
committerSimeon Simeonov2019-01-08 10:41:09 +0100
commit1adfb1d130c27b4d0f12d956446604a3714c1bc9 (patch)
tree4a5acbabe5c01af7fa0e2fbcca183d634df16c78 /.emacs
parent91a787a67152d5c62a311a0e49a5242d8a6fb2b8 (diff)
Add lua-mode.el, update php-mode and yasnippet, add some new C and Python snippets
Diffstat (limited to '.emacs')
-rw-r--r--.emacs6
1 files changed, 6 insertions, 0 deletions
diff --git a/.emacs b/.emacs
index fe066af..f0526be 100644
--- a/.emacs
+++ b/.emacs
@@ -81,6 +81,11 @@
81(autoload 'php-mode "php-mode" "Mode for editing PHP source files") 81(autoload 'php-mode "php-mode" "Mode for editing PHP source files")
82(add-to-list 'auto-mode-alist '("\\.\\(inc\\|php[s34]?\\)" . php-mode)) 82(add-to-list 'auto-mode-alist '("\\.\\(inc\\|php[s34]?\\)" . php-mode))
83 83
84;; Lua
85;; (autoload 'lua-mode "lua-mode" "Lua editing mode." t)
86;; (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
87;;(add-to-list 'interpreter-mode-alist '("lua" . lua-mode))
88
84;; YAML 89;; YAML
85(require 'yaml-mode) 90(require 'yaml-mode)
86(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) 91(add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode))
@@ -99,3 +104,4 @@
99;;(setq cua-auto-tabify-rectangles nil) 104;;(setq cua-auto-tabify-rectangles nil)
100;;(transient-mark-mode 1) 105;;(transient-mark-mode 1)
101;;(cua-selection-mode t) 106;;(cua-selection-mode t)
107(put 'downcase-region 'disabled nil)