Skip to content

Commit

Permalink
feat(pack/edgedb): Add EdgeDB syntax plugin (#93)
Browse files Browse the repository at this point in the history
Add EdgeDB syntax plugin
  • Loading branch information
divan authored Mar 22, 2023
1 parent 68aebcb commit f424f1b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/astrocommunity/pack/edgedb/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# EdgeDB pack

EdgeDB is a next-generation graph-relational database designed as a spiritual successor to the relational database.

This plugin pack adds support for syntax highlighting of EdgeQL files.
10 changes: 10 additions & 0 deletions lua/astrocommunity/pack/edgedb/edgedb.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
return {
"edgedb/edgedb-vim",
ft = "edgeql",
config = function()
vim.api.nvim_create_autocmd(
{ "BufRead", "BufNewFile" },
{ pattern = { "*.esdl", "*.edgeql" }, command = "setf edgeql" }
)
end,
}

0 comments on commit f424f1b

Please sign in to comment.