Skip to content

fix(clojure): Astrocommunity Clojure pack conditionally enable nvim-treesitter-sexp (or remove plugin from pack) #6

@practicalli-johnny

Description

@practicalli-johnny

The nvim-treesitter-sexp package generates many errors when used with Neovim 0.11 that were not present in Neovim 0.10.x reelases.

The bug is attributed to the treesitter changes in Neovim which have not been accommodated in the nvim-treesitter-sexp plugin as yet.

Lazy.nvim package manager enabled key requires a boolean result. A lua function can be used to check the version of Neovim running. The lua function will return 0 for false and 1 for true, comparing the result with either 1 or 0 will give the corresponding boolian value.

Add a condition that nvim-treesitter-sexp only be enabled if Neovim is not version 0.11.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions