Function chorus.treesitter.enable

chorus.treesitter.enable(spec: (chorus.treesitter.Spec | string)): nil

Enable treesitter

Also available by invoking chorus.treesitter as a function (or just treesitter with the default prelude)

Registers FileType autocommands to install parsers and enable treesitter features.

Parameters:

spec ((chorus.treesitter.Spec | string)) – Specification