diff options
| author | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-10 11:23:04 -0400 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2020-09-10 11:23:04 -0400 |
| commit | d42b057f64eeefa7b0345de183ec641770e7b040 (patch) | |
| tree | 5ea1fd010b7ee2de4d0e54836f98d239d6cd4d1c /lua/telescope/pickers.lua | |
| parent | 969e49c5775732cfc0b8a05c079147bc1bab2abf (diff) | |
feat: add filetype
Diffstat (limited to 'lua/telescope/pickers.lua')
| -rw-r--r-- | lua/telescope/pickers.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index b4c64c8..17788a0 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -218,6 +218,7 @@ function Picker:find() local prompt_bufnr = a.nvim_win_get_buf(prompt_win) a.nvim_win_set_option(prompt_win, 'winhl', 'Normal:TelescopeNormal') + a.nvim_buf_set_option(prompt_bufnr, 'filetype', 'TelescopePrompt') -- a.nvim_buf_set_option(prompt_bufnr, 'buftype', 'prompt') -- vim.fn.prompt_setprompt(prompt_bufnr, prompt_string) |
