mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
statusline/lualine: use nvim_get_option_value()
instead of nvim_buf_get_option()
Co-authored-by: Frothy <76622149+FrothyMarrow@users.noreply.github.com>
This commit is contained in:
parent
ff5555e3c8
commit
7b2e7cb6a8
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ in {
|
|||
-- Lsp server name .
|
||||
|
||||
function()
|
||||
local buf_ft = vim.api.nvim_buf_get_option(0, 'filetype')
|
||||
local buf_ft = vim.api.nvim_get_option_value('filetype', {})
|
||||
|
||||
-- Check if the current buffer type is "toggleterm"
|
||||
if buf_ft == "toggleterm" then
|
||||
|
|
Loading…
Reference in a new issue