mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 11:24:55 +02:00
nvim/lua/user/utils/telescope.lua: use vim.api.nvim_get_option_value() instead of deprectaed vim.api.nvim_buf_get_option()
This commit is contained in:
parent
f2f77b41cb
commit
7f4ee0aecb
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ function M.buffer_view(opts)
|
|||
highlight = opts.indicators.modified.higroup
|
||||
},
|
||||
readonly = {
|
||||
icon = vim.api.nvim_buf_get_option(entry.bufnr, "readonly") and opts.indicators.readonly.icon or " ",
|
||||
icon = vim.api.nvim_get_option_value("readonly", {buf = entry.bufnr}) and opts.indicators.readonly.icon or " ",
|
||||
highlight = opts.indicators.readonly.higroup
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue