Browse Source

Add hql to use sql-mode

master
10sr 5 years ago
parent
commit
118f509dca
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      emacs.el

+ 2
- 0
emacs.el View File

@@ -978,6 +978,8 @@ found, otherwise returns nil."


(autoload-eval-lazily 'sql '(sql-mode) (autoload-eval-lazily 'sql '(sql-mode)
(require 'sql-indent nil t)) (require 'sql-indent nil t))
(add-to-list 'auto-mode-alist
'("\\.hql\\'" . sql-mode))


(when (autoload-eval-lazily 'git-command) (when (autoload-eval-lazily 'git-command)
(define-key ctl-x-map "g" 'git-command)) (define-key ctl-x-map "g" 'git-command))


Loading…
Cancel
Save