From 1adfb1d130c27b4d0f12d956446604a3714c1bc9 Mon Sep 17 00:00:00 2001 From: Simeon Simeonov Date: Tue, 8 Jan 2019 10:41:09 +0100 Subject: Add lua-mode.el, update php-mode and yasnippet, add some new C and Python snippets --- .emacs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.emacs') diff --git a/.emacs b/.emacs index fe066af..f0526be 100644 --- a/.emacs +++ b/.emacs @@ -81,6 +81,11 @@ (autoload 'php-mode "php-mode" "Mode for editing PHP source files") (add-to-list 'auto-mode-alist '("\\.\\(inc\\|php[s34]?\\)" . php-mode)) +;; Lua +;; (autoload 'lua-mode "lua-mode" "Lua editing mode." t) +;; (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode)) +;;(add-to-list 'interpreter-mode-alist '("lua" . lua-mode)) + ;; YAML (require 'yaml-mode) (add-to-list 'auto-mode-alist '("\\.yml$" . yaml-mode)) @@ -99,3 +104,4 @@ ;;(setq cua-auto-tabify-rectangles nil) ;;(transient-mark-mode 1) ;;(cua-selection-mode t) +(put 'downcase-region 'disabled nil) -- cgit v1.3