diff options
author | Tom Willemse | 2021-06-22 22:19:53 -0700 |
---|---|---|
committer | Tom Willemse | 2021-06-22 22:19:53 -0700 |
commit | 89f8afa600e48983587c242f19c432a896540dd6 (patch) | |
tree | 68ee02f7876ee9acf56509dfc2d2a101d883e4e4 /oni-js.el | |
parent | 64d3f0cbb9d21051ecb26f8c6a7681caa3c7030f (diff) | |
download | emacs-config-89f8afa600e48983587c242f19c432a896540dd6.tar.gz emacs-config-89f8afa600e48983587c242f19c432a896540dd6.zip |
[oni-fci] Remove configuration
‘fci-mode’ has been completely superseded by the built-in
‘display-fill-column-indicator-mode’.
Diffstat (limited to 'oni-js.el')
-rw-r--r-- | oni-js.el | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -4,8 +4,8 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2021.0131.153554 -;; Package-Requires: (oni-company js2-mode js2-refactor oni-fci oni-flycheck tern fic-mode rjsx-mode) +;; Version: 2021.0622.221147 +;; Package-Requires: (oni-company js2-mode js2-refactor oni-flycheck 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 @@ -57,19 +57,15 @@ (add-hook 'js-mode-hook 'oni-js--auto-fill-mode) (add-hook 'js2-mode-hook 'company-mode) +(add-hook 'js2-mode-hook 'display-fill-column-indicator-mode) (add-hook 'js2-mode-hook 'electric-pair-local-mode) (add-hook 'js2-mode-hook 'fic-mode) (add-hook 'js2-mode-hook 'flycheck-mode) (add-hook 'js2-mode-hook 'js2-refactor-mode) +(add-hook 'js2-mode-hook 'oni-js--auto-fill-mode) (add-hook 'js2-mode-hook 'oni-js-whitespace-mode) (add-hook 'js2-mode-hook 'subword-mode) (add-hook 'js2-mode-hook 'tern-mode) -(add-hook 'js2-mode-hook 'oni-js--auto-fill-mode) - -(add-hook 'js2-mode-hook - (if (fboundp 'display-fill-column-indicator-mode) - 'display-fill-column-indicator-mode - 'fci-mode)) (js2r-add-keybindings-with-prefix "C-c r") |