diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2020-09-12 23:07:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-12 17:07:37 -0400 |
| commit | 4852d027d01f278b6273b4c118bea99ba7155ba5 (patch) | |
| tree | 6280b78bf2a487e4b05deccda1d6c6681ddfb553 /lua/telescope/actions.lua | |
| parent | 3a9b25e6bf49e24794cfb06d1a2e2585f8de2ca9 (diff) | |
feat: Adds shorten_path, show_all_buffers opts and fixes alignment (buffers builtin) (#32)
Diffstat (limited to 'lua/telescope/actions.lua')
| -rw-r--r-- | lua/telescope/actions.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/telescope/actions.lua b/lua/telescope/actions.lua index f4a29e5..0f890de 100644 --- a/lua/telescope/actions.lua +++ b/lua/telescope/actions.lua @@ -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)) |
