From 700b4020df505a45ff18dfa7044ecbf0f8f45509 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 30 Jun 2023 21:34:16 -0500 Subject: [PATCH] feat(nvim): add hurl support --- dots/.config/nvim/after/ftplugin/hurl.lua | 5 +++++ dots/.config/nvim/lua/plugins/plugins.lua | 1 + 2 files changed, 6 insertions(+) create mode 100644 dots/.config/nvim/after/ftplugin/hurl.lua diff --git a/dots/.config/nvim/after/ftplugin/hurl.lua b/dots/.config/nvim/after/ftplugin/hurl.lua new file mode 100644 index 00000000..31a69664 --- /dev/null +++ b/dots/.config/nvim/after/ftplugin/hurl.lua @@ -0,0 +1,5 @@ +vim.keymap.set("n", "fr", "Hurl", { + buffer = true, +}) + +vim.opt_local.commentstring = "# %s" diff --git a/dots/.config/nvim/lua/plugins/plugins.lua b/dots/.config/nvim/lua/plugins/plugins.lua index fd31b8be..f3dbe9df 100755 --- a/dots/.config/nvim/lua/plugins/plugins.lua +++ b/dots/.config/nvim/lua/plugins/plugins.lua @@ -94,6 +94,7 @@ lazy.setup({ "nvim-treesitter/nvim-treesitter-context", "windwp/nvim-ts-autotag", "nvim-treesitter/nvim-treesitter-textobjects", + { "pfeiferj/nvim-hurl", opts = { color = false } }, }, config = function() require("plugins.configs.treesitter")