1
0
Fork 0

Add a fill column indicator for Lua

This commit is contained in:
Tom Willemse 2020-09-07 14:44:47 -07:00
parent 1e2b6678de
commit 85636d669c

View file

@ -4,8 +4,8 @@
;; Author: Tom Willemse <chelys@rincewind> ;; Author: Tom Willemse <chelys@rincewind>
;; Keywords: local ;; Keywords: local
;; Version: 2020.0906.130231 ;; Version: 2020.0907.143421
;; Package-Requires: (lua-mode rainbow-delimiters) ;; Package-Requires: (lua-mode oni-fci rainbow-delimiters)
;; This program is free software; you can redistribute it and/or modify ;; 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 ;; 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 '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)) ;;;###autoload(with-eval-after-load 'lua-mode (require 'oni-lua))
(provide 'oni-lua) (provide 'oni-lua)