Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 889 Bytes

README.md

File metadata and controls

34 lines (26 loc) · 889 Bytes

tree-sitter-cue

Build Status Discord

Cue grammar for tree-sitter.

AST and highlights in Neovim

Setup in Neovim

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,
}