From 46e6d1f254ca5c754f05555974fe6fc252603ca6 Mon Sep 17 00:00:00 2001 From: Brandon Conway Date: Sun, 14 Mar 2021 19:24:10 -0700 Subject: [PATCH] Set filetype for quick menu --- lua/harpoon/ui.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/harpoon/ui.lua b/lua/harpoon/ui.lua index 21bc2ea..00f07f7 100644 --- a/lua/harpoon/ui.lua +++ b/lua/harpoon/ui.lua @@ -42,6 +42,7 @@ M.toggle_quick_menu = function() end vim.api.nvim_buf_set_lines(bufh, 0, #contents, false, contents) + vim.api.nvim_buf_set_option(bufh, "filetype", "harpoon") end M.nav_file = function(id)