Skip to content

Commit

Permalink
Remove the aniseed deprecation warning, update some more doc refs
Browse files Browse the repository at this point in the history
  • Loading branch information
Olical committed Mar 1, 2025
1 parent 9ef6528 commit 9fd944e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Conjure is an interactive environment for evaluating code within your running pr
The core features of Conjure are language agnostic (although it's targeted at Lisps _for now_), with each language client providing their own extra tools. Here's the currently supported languages, contributions and 3rd party plugins that add clients are highly encouraged! You can find a https://github.com/Olical/conjure/wiki/Client-features[comparison table for all clients and supported features] in the wiki.

* https://clojure.org/[Clojure] over https://nrepl.org/[nREPL] (https://github.com/Olical/conjure/wiki/Quick-start:-Clojure[quickstart])
* https://fennel-lang.org/[Fennel] inside Neovim via Lua and https://github.com/Olical/aniseed[Aniseed] (https://github.com/Olical/conjure/wiki/Quick-start:-Fennel-(Aniseed)[quickstart])
* https://fennel-lang.org/[Fennel] inside Neovim via Lua and https://github.com/Olical/nfnl[nfnl] (https://github.com/Olical/conjure/wiki/Quick-start:-Fennel-(nfnl)[quickstart])
* https://fennel-lang.org[Fennel] outside of Neovim within any Lua process through an stdio REPL (https://github.com/Olical/conjure/wiki/Quick-start:-Fennel-(stdio)[quickstart])
* https://janet-lang.org/[Janet] over https://github.com/janet-lang/spork/#networked-repl[spork/netrepl] (https://github.com/Olical/conjure/wiki/Quick-start:-Janet-(netrepl)[quickstart])
* https://janet-lang.org/[Janet] over stdio (https://github.com/Olical/conjure/wiki/Quick-start:-Janet-(stdio)[quickstart])
Expand Down
2 changes: 1 addition & 1 deletion doc/conjure-client-fennel-stdio.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ INTRODUCTION *conjure-client-fennel-stdio-introduction*
Conjure starts a Fennel REPL within Neovim when you first open a Fennel file.

The default Fennel filetype client is `conjure.client.fennel.aniseed`, to use
The default Fennel filetype client is `conjure.client.fennel.nfnl`, to use
this client instead you must override the configuration.
>
let g:conjure#filetype#fennel = "conjure.client.fennel.stdio"
Expand Down
17 changes: 2 additions & 15 deletions fnl/conjure/client/fennel/aniseed.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
{:fennel
{:aniseed
{:aniseed_module_prefix :conjure.aniseed.
:use_metadata true
:deprecation_warning true}}}})
:use_metadata true}}}})

(when (config.get-in [:mapping :enable_defaults])
(config.merge
Expand Down Expand Up @@ -274,17 +273,6 @@
(when (not ok?)
(opts.cb locals))))

(fn on-load []
(when (and (= "conjure.client.fennel.aniseed" (config.get-in [:filetype :fennel]))
(cfg [:deprecation_warning]))
(log.append
["; Warning: https://github.com/Olical/nfnl will eventually replace Aniseed as the default Fennel client."
"; Set the following to keep things as they are indefinitely:"
"(set vim.g.conjure#filetype#fennel \"conjure.client.fennel.aniseed\")"
""
"; Set the following to suppress this warning:"
"(set vim.g.conjure#client#fennel#aniseed#deprecation_warning false)"])))

{: buf-suffix
: comment-node?
: comment-prefix
Expand All @@ -303,5 +291,4 @@
: reset-repl
: run-all-tests
: run-buf-tests
: value->completions
: on-load}
: value->completions}
11 changes: 2 additions & 9 deletions lua/conjure/client/fennel/aniseed.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9fd944e

Please sign in to comment.