Tree Sitter Surrealdb.Nvim banner
DariusCorvus DariusCorvus

Tree Sitter Surrealdb.Nvim

Development community

Description

tree-sitter-surrealdb nvim integration plugin

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

tree-sitter-surrealdb.nvim

tree-sitter-surrealdb nvim integration plugin

features

highlighting

![highlighting](https://raw.githubusercontent.com/DariusCorvus/DariusCorvus/main/assets/wezterm-gui_X5Q2m2wOXH.png)

inline javascript

![Inline Javascript](https://raw.githubusercontent.com/DariusCorvus/DariusCorvus/main/assets/wezterm-gui_JxVBb8Lgg5.png)

tree-sitter

[tree-sitter-surrealdb](https://github.com/DariusCorvus/tree-sitter-surrealdb)

usage

The official extension for SurrealDB files is `.surql`, by default files which matches the pattern `*.surql` are detected.

requirements

installation

_Packer:_

use({
	"dariuscorvus/tree-sitter-surrealdb.nvim",
	requires = { "nvim-treesitter" },
})

_Lazy:_

Try running `:TSInstall surrealdb` if syntax highlighting doesn't appear after loading plugin.

 {
  "dariuscorvus/tree-sitter-surrealdb.nvim",
  dependencies = { "nvim-treesitter/nvim-treesitter" },
  config = function()
    -- setup step
    require("tree-sitter-surrealdb").setup()
  end,
}

setup

_Packer:_

require("tree-sitter-surrealdb").setup()