From cd913be08c0a5e3f986d3219169eff1aceed48c4 Mon Sep 17 00:00:00 2001 From: William Boman Date: Sat, 28 Jan 2023 16:16:00 +0100 Subject: [PATCH] fix(list): don't set buffer name This is because the "buffer name" represents the file name of the buffer - seeing as these are just ephemeral nofile buffers they don't represent a file on the file system. Closes #34. --- lua/glance/list.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/glance/list.lua b/lua/glance/list.lua index da93c55..c0ba83e 100644 --- a/lua/glance/list.lua +++ b/lua/glance/list.lua @@ -216,7 +216,6 @@ local function get_lsp_method_label(method_name) end function List:setup(opts) - vim.api.nvim_buf_set_name(self.bufnr, 'Glance') utils.win_set_options(self.winnr, win_opts) utils.buf_set_options(self.bufnr, buf_opts)