From 05baeef2041c2f56d63709c90c13ca5a16af9b9d Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 23 Jan 2023 15:16:52 -0600 Subject: [PATCH] feat: set commentstring for http to # --- dots/.nvim-environments/primary/config/after/ftplugin/http.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dots/.nvim-environments/primary/config/after/ftplugin/http.lua b/dots/.nvim-environments/primary/config/after/ftplugin/http.lua index e3d51499..f55ffa5f 100644 --- a/dots/.nvim-environments/primary/config/after/ftplugin/http.lua +++ b/dots/.nvim-environments/primary/config/after/ftplugin/http.lua @@ -7,3 +7,5 @@ vim.keymap.set('n', 'fp', 'RestNvimPreview', { vim.keymap.set('n', 'fl', 'RestNvimLast', { buffer = true, }) + +vim.api.nvim_buf_set_option(0, "commentstring", "# %s")