aboutsummaryrefslogtreecommitdiffstats
path: root/oni-fci.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-03-06 00:53:00 -0800
committerGravatar Tom Willemse2019-03-06 00:53:00 -0800
commit836226f1da8a81d5151035d2ba47f283b3fc8833 (patch)
tree5e2edd7f8a41ededf2e8537ae6b06287878863e2 /oni-fci.el
parentec7c84df1b701741995b2659378c5cf65b4332b5 (diff)
downloademacs-config-836226f1da8a81d5151035d2ba47f283b3fc8833.tar.gz
emacs-config-836226f1da8a81d5151035d2ba47f283b3fc8833.zip
Add oni-fci
Diffstat (limited to 'oni-fci.el')
-rw-r--r--oni-fci.el37
1 files changed, 37 insertions, 0 deletions
diff --git a/oni-fci.el b/oni-fci.el
new file mode 100644
index 0000000..75ee9e3
--- /dev/null
+++ b/oni-fci.el
@@ -0,0 +1,37 @@
+;;; oni-fci.el --- Fill Column Indicator configuration -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2019 Tom Willemse
+
+;; Author: Tom Willemse <tom@ryuslash.org>
+;; Keywords: local
+;; Version: 20190306002728
+;; Package-Requires: (fill-column-indicator)
+
+;; 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:
+
+;; Fill Column Indicator configuration.
+
+;;; Code:
+
+(require 'fill-column-indicator)
+
+(when (eql system-type 'windows-nt)
+ (setq fci-always-use-textual-rule t))
+
+;;;###autoload(with-eval-after-load 'fill-column-indicator (require 'oni-fci))
+
+(provide 'oni-fci)
+;;; oni-fci.el ends here