💥 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:
parent
52eed893fe
commit
77e4cc4d58
193 changed files with 304 additions and 303 deletions
|
@ -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=
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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")))
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue