Cue grammar for tree-sitter.
Using lazy.nvim
return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
event = { "BufReadPost", "BufNewFile" },
--- @type TSConfig
opts = {
ensure_installed = {
"cue",
},
},
---@param opts TSConfig
config = function(_, opts)
require("nvim-treesitter.configs").setup(opts)
end,
}