From 836226f1da8a81d5151035d2ba47f283b3fc8833 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 6 Mar 2019 00:53:00 -0800 Subject: [PATCH] Add oni-fci --- oni-c++.el | 4 ++-- oni-c.el | 4 ++-- oni-company.el | 4 ++-- oni-css.el | 4 ++-- oni-elisp.el | 4 ++-- oni-fci.el | 37 +++++++++++++++++++++++++++++++++++++ oni-flycheck.el | 4 ++-- oni-java.el | 4 ++-- oni-js.el | 4 ++-- oni-makefile.el | 4 ++-- oni-php.el | 4 ++-- oni-python.el | 4 ++-- oni-ruby.el | 4 ++-- oni-scheme.el | 4 ++-- oni-sh.el | 4 ++-- 15 files changed, 65 insertions(+), 28 deletions(-) create mode 100644 oni-fci.el diff --git a/oni-c++.el b/oni-c++.el index b2bd4ca..f908dc7 100644 --- a/oni-c++.el +++ b/oni-c++.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190226003100 -;; Package-Requires: (oni-company oni-flycheck fill-column-indicator) +;; Version: 20190306002807 +;; Package-Requires: (oni-company oni-flycheck oni-fci) ;; 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 diff --git a/oni-c.el b/oni-c.el index 82d9773..550c5a1 100644 --- a/oni-c.el +++ b/oni-c.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190303121949 -;; Package-Requires: (oni-flycheck fill-column-indicator) +;; Version: 20190306003104 +;; Package-Requires: (oni-flycheck oni-fci) ;; 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 diff --git a/oni-company.el b/oni-company.el index 61edd8f..f03e9c1 100644 --- a/oni-company.el +++ b/oni-company.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190206002633 -;; Package-Requires: (company diminish fill-column-indicator) +;; Version: 20190306002753 +;; Package-Requires: (company diminish oni-fci) ;; 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 diff --git a/oni-css.el b/oni-css.el index dfb2696..7870b6e 100644 --- a/oni-css.el +++ b/oni-css.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190219000529 -;; Package-Requires: (oni-company hydra fill-column-indicator) +;; Version: 20190306003014 +;; Package-Requires: (oni-company oni-fci hydra) ;; 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 diff --git a/oni-elisp.el b/oni-elisp.el index cbe1f73..92c497e 100644 --- a/oni-elisp.el +++ b/oni-elisp.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190304235831 -;; Package-Requires: (oni-company oni-flycheck oni-paredit rainbow-delimiters nameless fill-column-indicator erefactor) +;; Version: 20190306002948 +;; Package-Requires: (oni-company oni-flycheck oni-paredit oni-fci rainbow-delimiters nameless erefactor) ;; 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 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 +;; 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 . + +;;; 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 diff --git a/oni-flycheck.el b/oni-flycheck.el index 6b579ea..9098023 100644 --- a/oni-flycheck.el +++ b/oni-flycheck.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190204011700 -;; Package-Requires: (flycheck flycheck-inline flycheck-cask) +;; Version: 20190306002858 +;; Package-Requires: (flycheck flycheck-inline flycheck-cask oni-fci) ;; 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 diff --git a/oni-java.el b/oni-java.el index 2f533ff..0714d56 100644 --- a/oni-java.el +++ b/oni-java.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190221232546 -;; Package-Requires: (jdee fill-column-indicator) +;; Version: 20190306003041 +;; Package-Requires: (jdee oni-fci) ;; 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 diff --git a/oni-js.el b/oni-js.el index 4790d1b..c0776d3 100644 --- a/oni-js.el +++ b/oni-js.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190303103704 -;; Package-Requires: (oni-company js2-mode js2-refactor flycheck fill-column-indicator tern company-tern fic-mode rjsx-mode) +;; Version: 20190306003203 +;; Package-Requires: (oni-company js2-mode js2-refactor oni-fci oni-flycheck tern company-tern fic-mode rjsx-mode) ;; 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 diff --git a/oni-makefile.el b/oni-makefile.el index 81a1bf6..a196e6c 100644 --- a/oni-makefile.el +++ b/oni-makefile.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190228214104 -;; Package-Requires: (fill-column-indicator) +;; Version: 20190306003113 +;; Package-Requires: (oni-fci) ;; 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 diff --git a/oni-php.el b/oni-php.el index a167c2f..a61bb6f 100644 --- a/oni-php.el +++ b/oni-php.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190218221251 -;; Package-Requires: (php-mode oni-flycheck oni-company ggtags fill-column-indicator fic-mode hydra company-php) +;; Version: 20190306003024 +;; Package-Requires: (php-mode oni-flycheck oni-company oni-fci ggtags fic-mode hydra company-php) ;; 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 diff --git a/oni-python.el b/oni-python.el index d173a77..2804f5b 100644 --- a/oni-python.el +++ b/oni-python.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190206003120 -;; Package-Requires: (oni-company company-jedi fill-column-indicator flycheck rainbow-delimiters reformatter traad hydra) +;; Version: 20190306002919 +;; Package-Requires: (oni-company company-jedi oni-fci oni-flycheck rainbow-delimiters reformatter traad hydra) ;; 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 diff --git a/oni-ruby.el b/oni-ruby.el index d3df4dc..43de2c2 100644 --- a/oni-ruby.el +++ b/oni-ruby.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190226223311 -;; Package-Requires: (ruby-mode fill-column-indicator) +;; Version: 20190306003050 +;; Package-Requires: (ruby-mode oni-fci) ;; 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 diff --git a/oni-scheme.el b/oni-scheme.el index 8066bf8..adf4d1f 100644 --- a/oni-scheme.el +++ b/oni-scheme.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190304235839 -;; Package-Requires: (oni-company oni-paredit rainbow-delimiters fill-column-indicator) +;; Version: 20190306003058 +;; Package-Requires: (oni-company oni-paredit 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 diff --git a/oni-sh.el b/oni-sh.el index faa7e16..cc7d441 100644 --- a/oni-sh.el +++ b/oni-sh.el @@ -4,8 +4,8 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190130014540 -;; Package-Requires: (reformatter flycheck fill-column-indicator) +;; Version: 20190306002909 +;; Package-Requires: (reformatter oni-flycheck oni-fci) ;; 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