emacs - lua support
authorPeng Li <seudut@gmail.com>
Fri, 12 Aug 2016 16:09:24 +0000 (00:09 +0800)
committerPeng Li <seudut@gmail.com>
Fri, 12 Aug 2016 16:13:55 +0000 (00:13 +0800)
emacs.d/config.org

index 672d086..d3a2a04 100644 (file)
@@ -673,6 +673,7 @@ Always indents header, and hide header leading starts so that no need type =#+ST
      (latex . t)
      (java . t)
      (ruby . t)
+     (lua . t)
      (lisp . t)
      (scheme . t)
      (sh . t)
@@ -693,6 +694,10 @@ Always indents header, and hide header leading starts so that no need type =#+ST
   (unless 
       (file-exists-p org-ditaa-jar-path)
     (error "seudut: ditaa.jar not found at %s " org-ditaa-jar-path))
+
+  ;; Lua support
+  (use-package ob-lua
+    :ensure t)
 #+END_SRC
 
 ** Org-bullets
@@ -1882,6 +1887,12 @@ irony-company
     (add-hook 'c-mode-hook 'google-set-c-style))
 #+END_SRC
 
+** Lua
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+  (use-package lua-mode
+    :ensure t)
+#+END_SRC
+
 * Compile
 Set the environments vairables in compilation mode
 #+BEGIN_SRC emacs-lisp :tangle yes :results silent