mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
fix: set prompt filetype to TelescopePrompt (#81)
This commit is contained in:
parent
5140a6ed87
commit
e8e97eeebd
@ -272,7 +272,7 @@ local frecency = function(opts)
|
||||
})
|
||||
state.picker:find()
|
||||
|
||||
vim.api.nvim_buf_set_option(state.picker.prompt_bufnr, "filetype", "frecency")
|
||||
vim.api.nvim_buf_set_option(state.picker.prompt_bufnr, "filetype", "TelescopePrompt")
|
||||
vim.api.nvim_buf_set_option(state.picker.prompt_bufnr, "completefunc", "frecency#FrecencyComplete")
|
||||
vim.api.nvim_buf_set_keymap(
|
||||
state.picker.prompt_bufnr,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user