Skip to content

Commit 59ff625

Browse files
fix(clojure): disable nvim-treesitter-sexp for neovim 0.11
nvim-treesitter-sexp fails when using its commands for neovim 0.11 and AstroNvim v5 This plugin is failing due to breaking changes in treesitter since neovim 0.11 practicalli/neovim#62 (comment)
1 parent ae2437d commit 59ff625

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

lua/astrocommunity/editing-support/nvim-treesitter-sexp/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ A plugin for Neovim for editing code by manipulating the Treesitter AST. Basical
55
Supported Languages: Clojure, Fennel, Janet, Query
66

77
**Repository:** <https://github.com/PaterJason/nvim-treesitter-sexp>
8+
9+
> NOTE: Disabled for Neovim 0.11 (treesitter breaking changes)

lua/astrocommunity/editing-support/nvim-treesitter-sexp/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
return {
22
"PaterJason/nvim-treesitter-sexp",
33
dependencies = { "nvim-treesitter/nvim-treesitter" },
4+
enabled = vim.fn.has "nvim-0.11" == 0,
45
ft = { "clojure", "fennel", "janet", "query" },
56
cmd = "TSSexp",
67
opts = {},

lua/astrocommunity/pack/clojure/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ The Clojure language pack includes:
2020

2121
> NOTE: Conjure is available as a [code-runner](https://github.com/AstroNvim/astrocommunity/tree/main/lua/astrocommunity/code-runner) plugin config. nvim-treesitter-sexp and nvim-parinfer are available as [editing-support plugin configurations](https://github.com/AstroNvim/astrocommunity/tree/main/lua/astrocommunity/editing-support)
2222
23+
> NOTE: nvim-treesitter-sexp plugin disabled for Neovim 0.11 (treesitter breaking changes)
24+
25+
2326
## Clojure Guides
2427

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

0 commit comments

Comments
 (0)