diff options
author | Tom Willemse | 2020-09-07 14:44:47 -0700 |
---|---|---|
committer | Tom Willemse | 2020-09-07 14:44:47 -0700 |
commit | 85636d669c8a59fe49d66a22e2bba5492fd9dbff (patch) | |
tree | 601d58fb682a3c92f9007d2abc6b902e37045dae | |
parent | 1e2b6678de1495bdfb4e70f312aff25d48006750 (diff) | |
download | emacs-config-85636d669c8a59fe49d66a22e2bba5492fd9dbff.tar.gz emacs-config-85636d669c8a59fe49d66a22e2bba5492fd9dbff.zip |
Add a fill column indicator for Lua
-rw-r--r-- | oni-lua.el | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -4,8 +4,8 @@ ;; Author: Tom Willemse <chelys@rincewind> ;; Keywords: local -;; Version: 2020.0906.130231 -;; Package-Requires: (lua-mode rainbow-delimiters) +;; Version: 2020.0907.143421 +;; Package-Requires: (lua-mode oni-fci rainbow-delimiters) ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -28,6 +28,11 @@ (add-hook 'lua-mode-hook 'rainbow-delimiters-mode) +(add-hook 'lua-mode-hook + (if (fboundp 'display-fill-column-indicator-mode) + 'display-fill-column-indicator-mode + 'fci-mode)) + ;;;###autoload(with-eval-after-load 'lua-mode (require 'oni-lua)) (provide 'oni-lua) |