diff --git a/README.md b/README.md index d4f34e0..7befae6 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ require('winbar').setup({ icons = { file_icon_default = '', - seperator = '>', + separator = '>', editor_state = '●', lock_icon = '', }, diff --git a/lua/winbar/config.lua b/lua/winbar/config.lua index dd35fc6..16795da 100644 --- a/lua/winbar/config.lua +++ b/lua/winbar/config.lua @@ -14,7 +14,7 @@ M.defaults = { icons = { file_icon_default = '', - seperator = '>', + separator = '>', editor_state = '●', lock_icon = '', }, diff --git a/lua/winbar/winbar.lua b/lua/winbar/winbar.lua index c572afb..b74fd61 100644 --- a/lua/winbar/winbar.lua +++ b/lua/winbar/winbar.lua @@ -59,7 +59,7 @@ local winbar_file = function() end) for i = 1, #file_path_list do - value = value .. '%#' .. hl_winbar_path .. '#' .. file_path_list[i] .. ' ' .. opts.icons.seperator .. ' %*' + value = value .. '%#' .. hl_winbar_path .. '#' .. file_path_list[i] .. ' ' .. opts.icons.separator .. ' %*' end end value = value .. file_icon @@ -76,7 +76,7 @@ local winbar_gps = function() local value = '' if status_ok and gps.is_available() and gps_location ~= 'error' and not f.isempty(gps_location) then - value = '%#' .. hl_winbar_symbols .. '# ' .. opts.icons.seperator .. ' %*' + value = '%#' .. hl_winbar_symbols .. '# ' .. opts.icons.separator .. ' %*' value = value .. '%#' .. hl_winbar_symbols .. '#' .. gps_location .. '%*' end