GitHub

Clojure Language Pack

Include the Clojure language pack in the lua/community.lua file

  { import = "astrocommunity.pack.clojure" },

The Clojure pack requires:

The Clojure language pack includes:

NOTE: Conjure is available as a code-runner plugin config. nvim-paredit and nvim-parinfer are available as editing-support plugin configurations

Clojure Guides

:ConjureSchool in a Clojure buffer runs an interactive tutorial for Conjure

Override Configuration

Plugins in the language pack can be disabled and default options overridden.

Example: Include the Clojure language pack and disable the parinfer plugin by setting the enabled key to false.

  { import = "astrocommunity.pack.clojure" },
  { "gpanders/nvim-parinfer", enabled = false },
  { "julienvincent/nvim-paredit", enabled = false },

Example: Change the test runner used by Conjure. clojure.test runner is used by default

  { import = "astrocommunity.pack.clojure" },
  {
    "AstroNvim/astrocore",
    opts = {
      options = {
        g = {
          -- Set Test runner: "clojure", "clojurescript", "kaocha"
          ["conjure#client#clojure#nrepl#test#runner"] = "kaocha",
        },
      },
    },
  },

NOTE: :help conjure-client-clojure-nrepl for full list of Conjure options for Clojure.

Read the original on github.com ↗