diff options
Diffstat (limited to 'emacs')
| -rw-r--r-- | emacs/inits/20-programming.el | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/emacs/inits/20-programming.el b/emacs/inits/20-programming.el index e2e0494..23f48b5 100644 --- a/emacs/inits/20-programming.el +++ b/emacs/inits/20-programming.el @@ -1,4 +1,4 @@ -;; Time-stamp: <2019-09-11 11:30:39 (tslil@basingstoke)> +;; Time-stamp: <2019-11-05 15:36:26 (tslil@basingstoke)> ;; ----------------------------------------------------------------------------- ;; General setup @@ -73,6 +73,20 @@ (auto-revert-mode -1) (yas-minor-mode-on)))) +(use-package lua-mode + :ensure t + :defer t + :bind (:map lua-mode-map + ("C-c C-e" . lua-send-current-line) + ("C-c C-f" . lua-send-defun) + ("C-c C-s" . lua-send-region) + ("M-n" . lua-forward-sexp) + ("M-p" . lua-backwards-to-block-begin-or-end)) + :hook (lua-mode . (lambda () + (use-package company-lua :ensure t) + (add-to-list 'company-backends 'company-lua))) + ) + ;; What are these? ;; (setq gdb-show-threads-by-default nil ;; gdb-many-windows nil |
