Add a fill column indicator for Lua
This commit is contained in:
parent
1e2b6678de
commit
85636d669c
1 changed files with 7 additions and 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)
|
||||
|
|
Loading…
Reference in a new issue