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