💥 Remove :feature category

:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
This commit is contained in:
Henrik Lissner 2019-04-21 19:59:44 -04:00
parent 52eed893fe
commit 77e4cc4d58
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
193 changed files with 304 additions and 303 deletions

View file

@ -23,7 +23,7 @@ This module adds support for the C-family of languages: C, C++, and Objective-C.
+ eldoc support (~irony-eldoc~)
+ Syntax-checking (~flycheck-irony~)
+ Code navigation (~rtags~)
+ File Templates ([[../../feature/file-templates/templates/c-mode][c-mode]], [[../../feature/file-templates/templates/c++-mode][c++-mode]])
+ File Templates ([[../../editor/file-templates/templates/c-mode][c-mode]], [[../../editor/file-templates/templates/c++-mode][c++-mode]])
+ Snippets ([[https://github.com/hlissner/emacs-snippets/tree/master/cc-mode][cc-mode]], [[https://github.com/hlissner/emacs-snippets/tree/master/c-mode][c-mode]], [[https://github.com/hlissner/emacs-snippets/tree/master/c++-mode][c++-mode]])
+ Several improvements to C++11 indentation and syntax highlighting.

View file

@ -84,7 +84,7 @@
"B" #'+clojure/cider-switch-to-repl-buffer-and-switch-ns
"c" #'cider-find-and-clear-repl-output)))
(:when (featurep! :feature evil +everywhere)
(:when (featurep! :editor evil +everywhere)
:map cider-repl-mode-map
:i [S-return] #'cider-repl-newline-and-indent
(:localleader

View file

@ -135,7 +135,7 @@ bin/doom while packages at compile-time (not a runtime though)."
:desc "Toggle (fancy)" "T" #'sly-toggle-fancy-trace
:desc "Untrace all" "u" #'sly-untrace-all))
(when (featurep! :feature evil +everywhere)
(when (featurep! :editor evil +everywhere)
(add-hook 'sly-mode-hook #'evil-normalize-keymaps)
(add-hook 'sly-popup-buffer-mode-hook #'evil-normalize-keymaps)
(unless evil-move-beyond-eol

View file

@ -84,7 +84,7 @@ This marks a foldable marker for `outline-minor-mode' in elisp buffers.")
;; `macrostep'
(when (featurep! :feature evil)
(when (featurep! :editor evil)
(after! macrostep
(evil-define-key* 'normal macrostep-keymap
[return] #'macrostep-expand

View file

@ -24,7 +24,7 @@ This module adds [[https://golang.org][Go]] support.
+ Syntax-checking (~flycheck~)
+ Auto-formatting on save (~gofmt~)
+ Code navigation & refactoring (~go-guru~)
+ [[../../feature/file-templates/templates/go-mode][File templates]]
+ [[../../editor/file-templates/templates/go-mode][File templates]]
+ [[https://github.com/hlissner/emacs-snippets/tree/master/go-mode][Snippets]]
** Module Flags

View file

@ -179,7 +179,7 @@
(def-package! xref-js2
:when (featurep! :feature lookup)
:when (featurep! :tools lookup)
:after (:or js2-mode rjsx-mode)
:config
(set-lookup-handlers! '(js2-mode rjsx-mode)
@ -189,7 +189,7 @@
(def-package! js2-refactor
:hook ((js2-mode rjsx-mode) . js2-refactor-mode)
:config
(when (featurep! :feature evil +everywhere)
(when (featurep! :editor evil +everywhere)
(let ((js2-refactor-mode-map (evil-get-auxiliary-keymap js2-refactor-mode-map 'normal t t)))
(js2r-add-keybindings-with-prefix (format "%s r" doom-localleader-key)))))

View file

@ -14,7 +14,7 @@
(package! npm-mode)
(package! skewer-mode)
(when (featurep! :feature lookup)
(when (featurep! :tools lookup)
(package! xref-js2))
(unless (featurep! +lsp)

View file

@ -26,7 +26,7 @@
(def-package! evil-ledger
:when (featurep! :feature evil +everywhere)
:when (featurep! :editor evil +everywhere)
:hook (ledger-mode . evil-ledger-mode)
:config
(set-evil-initial-state! 'ledger-report-mode 'normal)

View file

@ -3,7 +3,7 @@
(package! ledger-mode)
(when (featurep! :feature evil)
(when (featurep! :editor evil)
(package! evil-ledger))
(when (featurep! :tools flycheck)

View file

@ -29,7 +29,7 @@
:i "M-b" #'markdown-insert-bold
:i "M-i" #'markdown-insert-italic
:i "M-`" #'+markdown/insert-del
(:when (featurep! :feature evil +everywhere)
(:when (featurep! :editor evil +everywhere)
:m "gj" #'markdown-next-visible-heading
:m "gk" #'markdown-previous-visible-heading
;; TODO: Make context sensitive

View file

@ -54,7 +54,7 @@ opam install merlin utop ocp-indent dune ocamlformat
on-the-fly syntax/type checking via =merlin=, otherwise this is only done when
the file is saved.
+ spell checking is activated in comments if =:tools flyspell= is active
+ a REPL is provided if =utop= is installed and =:feature eval= is active
+ a REPL is provided if =utop= is installed and =:tools eval= is active
+ if =:editor format= is enabled, the =ocamlformat= executable is available and
there is an =.ocamlformat= file present then =format-all-buffer= is bound to
=ocamlformat=, otherwise to =ocp-indent=

View file

@ -72,7 +72,7 @@
(def-package! utop
:when (featurep! :feature eval)
:when (featurep! :tools eval)
:defer t ; loaded by hook below
:init
(set-repl-handler! 'tuareg-mode #'utop)

View file

@ -8,7 +8,7 @@
(unless (executable-find "ocp-indent")
(warn! "Couldn't find ocp-indent. Auto-indentation will be less precise"))
(when (featurep! :feature eval)
(when (featurep! :tools eval)
(unless (executable-find "utop")
(warn! "Couldn't find utop. REPL won't be available")))

View file

@ -9,7 +9,7 @@
(when (featurep! :tools flycheck)
(package! flycheck-ocaml))
(when (featurep! :feature eval)
(when (featurep! :tools eval)
(package! utop))
(when (featurep! :editor format)

View file

@ -86,7 +86,7 @@ underlying, modified buffer. This fixes that."
header-line-format)))
(add-hook 'org-capture-mode-hook #'+org|show-target-in-capture-header)
(when (featurep! :feature evil)
(when (featurep! :editor evil)
(add-hook 'org-capture-mode-hook #'evil-insert-state))
(when (featurep! :ui doom-dashboard)

View file

@ -27,7 +27,7 @@
(advice-add #'toc-org-insert-toc :before #'+org*unfold-toc)
(def-package! evil-org
:when (featurep! :feature evil +everywhere)
:when (featurep! :editor evil +everywhere)
:hook (org-mode . evil-org-mode)
:init
(defvar evil-org-key-theme '(navigation insert textobjects))

View file

@ -16,7 +16,7 @@
(package! org-yt :recipe (:fetcher github :repo "TobiasZawada/org-yt"))
(package! toc-org)
(when (featurep! :feature evil)
(when (featurep! :editor evil)
(package! evil-org))
(when (featurep! :tools pdf)

View file

@ -8,7 +8,7 @@ This module adds support for PHP 5.3+ (including PHP7).
+ Code refactoring commands (~php-refactor-mode~)
+ Unit-test commands (~phpunit~)
+ Support for ~laravel~ and ~composer~ projects (with project-specific snippets)
+ [[../../feature/file-templates/templates/php-mode][File templates]]
+ [[../../editor/file-templates/templates/php-mode][File templates]]
+ [[https://github.com/hlissner/emacs-snippets/tree/master/php-mode][Snippets]]
#+begin_quote

View file

@ -121,7 +121,7 @@
;; Rake
(("task" "namespace") () "end")))
(when (featurep! :feature evil)
(when (featurep! :editor evil)
(add-hook 'rspec-mode-hook #'evil-normalize-keymaps))
:config
(map! :localleader
@ -149,7 +149,7 @@
(def-package! minitest
:defer t
:config
(when (featurep! :feature evil)
(when (featurep! :editor evil)
(add-hook 'minitest-mode-hook #'evil-normalize-keymaps))
(map! :localleader
:map minitest-mode-map

View file

@ -1,5 +1,5 @@
;;; lang/html/autoload/evil.el -*- lexical-binding: t; -*-
;;;###if (featurep! :feature evil)
;;;###if (featurep! :editor evil)
;;;###autoload (autoload '+web:encode-html-entities "lang/web/autoload/evil" nil t)
(evil-define-operator +web:encode-html-entities (beg end &optional input)