Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a typo in the 'seperator' parameter name #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ require('winbar').setup({

icons = {
file_icon_default = '',
seperator = '>',
separator = '>',
editor_state = '',
lock_icon = '',
},
Expand Down
2 changes: 1 addition & 1 deletion lua/winbar/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ M.defaults = {

icons = {
file_icon_default = '',
seperator = '>',
separator = '>',
editor_state = '',
lock_icon = '',
},
Expand Down
4 changes: 2 additions & 2 deletions lua/winbar/winbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down