summaryrefslogtreecommitdiff
path: root/lua/plugins/lang/promql.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/lang/promql.lua')
-rw-r--r--lua/plugins/lang/promql.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/lua/plugins/lang/promql.lua b/lua/plugins/lang/promql.lua
new file mode 100644
index 0000000..5589b89
--- /dev/null
+++ b/lua/plugins/lang/promql.lua
@@ -0,0 +1,19 @@
+return {
+ {
+ "nvim-treesitter/nvim-treesitter",
+ opts = function(_, opts)
+ if type(opts) == "table" then
+ opts.ensure_installed = opts.ensure_installed or {}
+ vim.list_extend(opts.ensure_installed, { "promql" })
+ end
+ end,
+ },
+
+ {
+ name = "promqlfmt.nvim",
+ url = "https://git.segundo.io/nvim/promqlfmt.nvim",
+ --dir = "/Users/christian.segundo/git/promql.nvim",
+ --dev = true,
+ cmd = { "Promqlfmt" },
+ },
+}