plsql mode indent
This commit is contained in:
1
init.el
1
init.el
@@ -14,6 +14,7 @@
|
|||||||
(load "~/.emacs.d/my-modeline.elc")
|
(load "~/.emacs.d/my-modeline.elc")
|
||||||
(load "~/.emacs.d/my-linum.elc")
|
(load "~/.emacs.d/my-linum.elc")
|
||||||
(load "~/.emacs.d/my-themes.elc")
|
(load "~/.emacs.d/my-themes.elc")
|
||||||
|
(load "~/.emacs.d/lisp/plsql.elc")
|
||||||
(load "~/.emacs.d/my-gnus.elc")))
|
(load "~/.emacs.d/my-gnus.elc")))
|
||||||
(custom-set-variables
|
(custom-set-variables
|
||||||
;; custom-set-variables was added by Custom.
|
;; custom-set-variables was added by Custom.
|
||||||
|
|||||||
@@ -37,3 +37,5 @@
|
|||||||
|
|
||||||
(use-package web-mode)
|
(use-package web-mode)
|
||||||
(use-package less-css-mode)
|
(use-package less-css-mode)
|
||||||
|
|
||||||
|
(use-package sql)
|
||||||
|
|||||||
@@ -43,6 +43,11 @@
|
|||||||
(add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode))
|
(add-to-list 'auto-mode-alist '("\\.mustache\\'" . web-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
|
(add-to-list 'auto-mode-alist '("\\.djhtml\\'" . web-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
|
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.\\(p\\(?:k[bg]\\|ls\\)\\|sql\\)\\'" . plsql-mode))
|
||||||
|
;; (setq auto-mode-alist
|
||||||
|
;; (append
|
||||||
|
;; '(("\\.\\(p\\(?:k[bg]\\|ls\\)\\|sql\\)\\'" . plsql-mode))
|
||||||
|
;; auto-mode-alist))
|
||||||
(defun my-web-mode-hook ()
|
(defun my-web-mode-hook ()
|
||||||
"Hooks for Web mode."
|
"Hooks for Web mode."
|
||||||
(setq web-mode-markup-indent-offset 2)
|
(setq web-mode-markup-indent-offset 2)
|
||||||
@@ -93,6 +98,11 @@
|
|||||||
(add-hook 'term-mode-hook (lambda ()
|
(add-hook 'term-mode-hook (lambda ()
|
||||||
(setq-local global-hl-line-mode nil)))
|
(setq-local global-hl-line-mode nil)))
|
||||||
|
|
||||||
|
;;(setq auto-mode-alist
|
||||||
|
;; (append
|
||||||
|
;; '(("\\.\\(p\\(?:k[bg]\\|ls\\)\\|sql\\)\\'" . plsql-mode))
|
||||||
|
;; auto-mode-alist))
|
||||||
|
|
||||||
(defadvice term-handle-exit
|
(defadvice term-handle-exit
|
||||||
(after term-kill-buffer-on-exit activate)
|
(after term-kill-buffer-on-exit activate)
|
||||||
(kill-buffer))
|
(kill-buffer))
|
||||||
|
|||||||
@@ -4,9 +4,7 @@
|
|||||||
(add-to-list 'package-archives
|
(add-to-list 'package-archives
|
||||||
'("marmalade" . "http://marmalade-repo.org/packages/") t)
|
'("marmalade" . "http://marmalade-repo.org/packages/") t)
|
||||||
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/") t
|
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/") t
|
||||||
(let ((default-directory "~/.emacs.d/lisp/"))
|
(add-to-list 'load-path "~/.emacs.d/lisp/" t)
|
||||||
(normal-top-level-add-subdirs-to-load-path))
|
|
||||||
(package-initialize)
|
|
||||||
|
|
||||||
(defvar prelude-packages
|
(defvar prelude-packages
|
||||||
'(all-the-icons async base16-theme bind-chord bind-key counsel dash diminish
|
'(all-the-icons async base16-theme bind-chord bind-key counsel dash diminish
|
||||||
|
|||||||
Reference in New Issue
Block a user