feat: Adds shorten_path, show_all_buffers opts and fixes alignment (buffers builtin) (#32)

This commit is contained in:
Simon Hauser
2020-09-12 23:07:37 +02:00
committed by GitHub
parent 3a9b25e6bf
commit 4852d027d0
4 changed files with 54 additions and 24 deletions

View File

@@ -83,6 +83,7 @@ local function goto_file_selection(prompt_bufnr, command)
-- TODO: Sometimes we open something with missing line numbers and stuff...
if entry_bufnr then
a.nvim_win_set_buf(original_win_id, entry_bufnr)
vim.api.nvim_command("doautocmd filetypedetect BufRead " .. vim.fn.fnameescape(filename))
else
vim.cmd(string.format(":%s %s", command, filename))