Skip to content

Commit

Permalink
fix: 0.11 deprecations (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
tris203 authored May 18, 2024
1 parent 3292948 commit 1e9faa6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/cokeline/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local hlgroups = lazy("cokeline.hlgroups")
local insert = table.insert

local echo = vim.api.nvim_echo
local islist = vim.tbl_islist
local islist = vim.islist or vim.tbl_islist

local defaults = {
show_if_buffers_are_at_least = 1,
Expand Down Expand Up @@ -121,9 +121,9 @@ local defaults = {
---@param msg string
local echoerr = function(msg)
echo({
{ "[nvim-cokeline]: ", "ErrorMsg" },
{ "[nvim-cokeline]: ", "ErrorMsg" },
{ 'Configuration option "' },
{ msg, "WarningMsg" },
{ msg, "WarningMsg" },
{ '" does not exist!' },
}, true, {})
end
Expand Down

0 comments on commit 1e9faa6

Please sign in to comment.