From 85636d669c8a59fe49d66a22e2bba5492fd9dbff Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 7 Sep 2020 14:44:47 -0700 Subject: Add a fill column indicator for Lua --- oni-lua.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/oni-lua.el b/oni-lua.el index 53c6ce1..4c6ec58 100644 --- a/oni-lua.el +++ b/oni-lua.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; 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) -- cgit v1.2.3-54-g00ecf