mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
This reverts commit e8e97eeebd.
This plugin defines the filetype `frecency` to use a customized syntax
to highlight tags in input characters. So we should use `frecency` here.
<img width="141" alt="スクリーンショット 0005-04-11 10 09 02" src="https://user-images.githubusercontent.com/1239245/231029307-e09ede61-a0ee-49fe-8fa5-25654a193ca5.png">
This commit is contained in:
parent
09269b2b9d
commit
38d6743eb2
@ -280,7 +280,7 @@ local frecency = function(opts)
|
||||
})
|
||||
state.picker:find()
|
||||
|
||||
vim.api.nvim_buf_set_option(state.picker.prompt_bufnr, "filetype", "TelescopePrompt")
|
||||
vim.api.nvim_buf_set_option(state.picker.prompt_bufnr, "filetype", "frecency")
|
||||
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