Skip to content

Commit

Permalink
refactor: Replace deprecated function in evil_lualine example (#1146)
Browse files Browse the repository at this point in the history
Co-authored-by: Shadman <13149513+shadmansaleh@users.noreply.github.com>
  • Loading branch information
BiiChris and shadmansaleh authored Nov 1, 2024
1 parent c561de0 commit 640260d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/evil_lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ ins_left {
-- Lsp server name .
function()
local msg = 'No Active Lsp'
local buf_ft = vim.api.nvim_buf_get_option(0, 'filetype')
local buf_ft = vim.api.nvim_get_option_value('filetype', { buf = 0 })
local clients = vim.lsp.get_clients()
if next(clients) == nil then
return msg
Expand Down

0 comments on commit 640260d

Please sign in to comment.