Git Product home page Git Product logo

tree-sitter-surrealdb.nvim's Introduction

tree-sitter-surrealdb.nvim

tree-sitter-surrealdb nvim integration plugin

features

highlighting

highlighting

inline javascript

Inline Javascript

tree-sitter

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()

tree-sitter-surrealdb.nvim's People

Contributors

bonofiglio avatar dariuscorvus avatar sanrafa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

tree-sitter-surrealdb.nvim's Issues

TS Case insensitive option?

Hi, I've been using this plugin with AstroNvim (Lazy) and I've noticed that when i use lowercase letters (as it is supported by the SurrealDB) i can only get correct highlighting when in CAPS LOCK. Is it possible to be case insensitive?

example:
from and FROM will produce same color magenta.

Thank you and great work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.