Taylor Venable avatar Taylor Venable committed d93bdbe

Some fixes for Ada and Lua modes

Comments (0)

Files changed (1)

 (defvar tcv-every-mode '(ada-mode awk-mode c-mode c++-mode
   clojure-mode cperl-mode css-mode emacs-lisp-mode erlang-mode
   groovy-mode java-mode js2-mode haskell-mode html-mode lisp-mode
-  perl-mode php-mode prolog-mode ruby-mode scala-mode scheme-mode
-  sgml-mode sh-mode shell-script-mode sml-mode tcl-mode
-  tuareg-mode xml-mode)
+  lua-mode perl-mode php-mode prolog-mode ruby-mode scala-mode
+  scheme-mode sgml-mode sh-mode shell-script-mode sml-mode
+  tcl-mode tuareg-mode xml-mode)
   "Every single mode.")
 
 (defvar tcv-adjust-colors nil)
  (lambda (mode)
    (let ((mode-hook (intern (concat (symbol-name mode) "-hook"))))
      (add-hook mode-hook (lambda nil (local-set-key (kbd "RET") 'newline-and-indent)))))
- (cl-remove-if (lambda (x) (eq x 'haskell-mode))
+ (cl-remove-if (lambda (x) (or (eq x 'haskell-mode)
+			       (eq x 'ada-mode)))
 	       tcv-every-mode))
 (mapcar
  (lambda (mode-hook-list)
    (add-hook (car mode-hook-list) `(lambda nil (setq ,(cadr mode-hook-list) 4))))
- '((ada-mode-hook     ada-indent)
-   (fortran-mode-hook fortran-do-indent)
+ '((fortran-mode-hook fortran-do-indent)
    (fortran-mode-hook fortran-if-indent)
    (fortran-mode-hook fortran-structure-indent)
+   ;(lua-mode-hook     lua-indent-level)
    (prolog-mode-hook  prolog-indent-width)
    (ruby-mode-hook    ruby-indent-level)))
 
  '(ediff-window-setup-function (quote ediff-setup-windows-plain))
  '(find-file-suppress-same-file-warnings t)
  '(replace-lax-whitespace t)
- '(safe-local-variable-values (quote ((ack-and-a-half-executable . "~/perl5/perlbrew/perls/perl-5.16.1/bin/ack")))))
+ '(safe-local-variable-values (quote ((ack-and-a-half-executable . "~/perl5/perlbrew/perls/perl-5.16.2/bin/ack")))))
 (custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.