Skip to content

Commit

Permalink
fix(list): don't set buffer name
Browse files Browse the repository at this point in the history
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 DNLHC#34.
  • Loading branch information
williamboman committed Jan 28, 2023
1 parent 611478d commit cd913be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/glance/list.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit cd913be

Please sign in to comment.