Add highlight-indent-guides configuration
This commit is contained in:
parent
4c4c552be4
commit
6c16cb94c1
4 changed files with 46 additions and 2 deletions
|
@ -17,6 +17,10 @@ test-oni-grep:
|
|||
stage: test
|
||||
script: make test-oni-grep
|
||||
|
||||
test-oni-highlight-indent-guides:
|
||||
stage: test
|
||||
script: make test-oni-highlight-indent-guides
|
||||
|
||||
package:
|
||||
stage: package
|
||||
before_script:
|
||||
|
|
36
oni-highlight-indent-guides.el
Normal file
36
oni-highlight-indent-guides.el
Normal file
|
@ -0,0 +1,36 @@
|
|||
;;; oni-highlight-indent-guides.el --- highlight-indent-guides configuration -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2019 Tom Willemse
|
||||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 20190504235807
|
||||
;; Package-Requires: (highlight-indent-guides)
|
||||
|
||||
;; 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
|
||||
;; the Free Software Foundation, either version 3 of the License, or
|
||||
;; (at your option) any later version.
|
||||
|
||||
;; This program is distributed in the hope that it will be useful,
|
||||
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
;; GNU General Public License for more details.
|
||||
|
||||
;; You should have received a copy of the GNU General Public License
|
||||
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
;; Configuration for highlight-indent-guides.
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'highlight-indent-guides)
|
||||
|
||||
(setq highlight-indent-guides-method 'character)
|
||||
|
||||
;;;###autoload(with-eval-after-load 'highlight-indent-guides (require 'oni-highlight-indent-guides))
|
||||
|
||||
(provide 'oni-highlight-indent-guides)
|
||||
;;; oni-highlight-indent-guides.el ends here
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 20190309160113
|
||||
;; Package-Requires: (yaml-mode oni-flycheck oni-fci flycheck-yamllint indent-tools yaml-imenu highlight-indent-guides)
|
||||
;; Version: 20190504235439
|
||||
;; Package-Requires: (yaml-mode oni-flycheck oni-fci oni-highlight-indent-guides flycheck-yamllint indent-tools yaml-imenu)
|
||||
|
||||
;; 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
|
||||
|
|
4
test/oni-highlight-indent-guides-test.el
Normal file
4
test/oni-highlight-indent-guides-test.el
Normal file
|
@ -0,0 +1,4 @@
|
|||
(ert-deftest oni-highlight-indent-guides-autoloads ()
|
||||
"Thest that `oni-highlight-indent-guides' gets loaded automatically."
|
||||
(require 'highlight-indent-guides)
|
||||
(should (featurep 'oni-highlight-indent-guides)))
|
Loading…
Reference in a new issue