diff options
| author | Mike Hartington <mhartington@users.noreply.github.com> | 2020-12-03 00:37:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-03 00:37:07 -0500 |
| commit | 424b98df154a333c3b85d48e7e435892c5854dfe (patch) | |
| tree | 896875eadf963822fc825c089e0c15ad50a01038 /lua | |
| parent | f2b483edc54ff1892d52d90177e7fb89e9a10535 (diff) | |
fix: add back filetypedetect on edit (#283)
* add back filetypedetect on edit
* chore(): apply feedback
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/actions/init.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/telescope/actions/init.lua b/lua/telescope/actions/init.lua index d60b869..e479d1b 100644 --- a/lua/telescope/actions/init.lua +++ b/lua/telescope/actions/init.lua @@ -122,6 +122,7 @@ function actions._goto_file_selection(prompt_bufnr, command) end end end + vim.api.nvim_command("doautocmd filetypedetect BufRead " .. vim.fn.fnameescape(filename)) end end |
