Skip to content

Commit

Permalink
fix: update nerd-font icon
Browse files Browse the repository at this point in the history
fix #67
  • Loading branch information
zztrieuzz committed Dec 27, 2023
1 parent 0820c1f commit ec334e4
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ basic.lsp_diagnos = {
{ lsp_comps.lsp_warning({ format = '  %s' }), {'yellow',''} },
-- it have same background black with the previous component

{ lsp_comps.lsp_hint({ format = ' %s' }), {'', 'blue'} },
{ lsp_comps.lsp_hint({ format = ' %s' }), {'', 'blue'} },
-- it have same foreground yellow with the previous component

{ ' ] ' },
Expand Down
2 changes: 1 addition & 1 deletion lua/windline/components/virtualenv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local cache_utils = require('windline.cache_utils')

M.virtualenv = function(opt)
opt = opt or {}
local format = opt.format or '%s'
local format = opt.format or ' 󰞀 %s'
local conda_format = opt.conda_format or format
return function(bufnr)
local filetype = vim.api.nvim_buf_get_option(bufnr, 'filetype')
Expand Down
4 changes: 2 additions & 2 deletions lua/wlsample/airline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ basic.lsp_diagnos = {
return {
{ lsp_comps.lsp_error({ format = '  %s', show_zero = true }), 'red' },
{ lsp_comps.lsp_warning({ format = '  %s', show_zero = true }), 'yellow' },
{ lsp_comps.lsp_hint({ format = ' %s', show_zero = true }), 'blue' },
{ lsp_comps.lsp_hint({ format = ' %s', show_zero = true }), 'blue' },
}
end
return { ' ', 'red' }
Expand All @@ -192,7 +192,7 @@ basic.git = {
return {
{ git_comps.diff_added({ format = '  %s' }), 'green' },
{ git_comps.diff_removed({ format = '  %s' }), 'red' },
{ git_comps.diff_changed({ format = ' %s' }), 'blue' },
{ git_comps.diff_changed({ format = ' %s' }), 'blue' },
}
end
return ''
Expand Down
2 changes: 1 addition & 1 deletion lua/wlsample/airline_luffy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ basic.lsp_diagnos = {
{ ' ', 'red' },
{ lsp_comps.lsp_error({ format = ' %s', show_zero = false }), 'red' },
{ lsp_comps.lsp_warning({ format = '  %s', show_zero = false }), 'yellow' },
{ lsp_comps.lsp_hint({ format = ' %s', show_zero = false }), 'blue' },
{ lsp_comps.lsp_hint({ format = ' %s', show_zero = false }), 'blue' },
}
end
return { ' ', 'red' }
Expand Down
4 changes: 2 additions & 2 deletions lua/wlsample/bubble.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ basic.lsp_diagnos = {
return {
{ lsp_comps.lsp_error({ format = '  %s' }), 'red' },
{ lsp_comps.lsp_warning({ format = '  %s' }), 'yellow' },
{ lsp_comps.lsp_hint({ format = ' %s' }), 'blue' },
{ lsp_comps.lsp_hint({ format = ' %s' }), 'blue' },
}
end
return ''
Expand Down Expand Up @@ -117,7 +117,7 @@ basic.git = {
{ ' ' },
{ git_comps.diff_added({ format = ' %s' }), 'green' },
{ git_comps.diff_removed({ format = '  %s' }), 'red' },
{ git_comps.diff_changed({ format = ' %s' }), 'blue' },
{ git_comps.diff_changed({ format = ' %s' }), 'blue' },
}
end
return ''
Expand Down
4 changes: 2 additions & 2 deletions lua/wlsample/bubble2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ basic.lsp_diagnos = {
return {
{ lsp_comps.lsp_error({ format = '  %s' }), 'red' },
{ lsp_comps.lsp_warning({ format = '  %s' }), 'yellow' },
{ lsp_comps.lsp_hint({ format = ' %s' }), 'blue' },
{ lsp_comps.lsp_hint({ format = ' %s' }), 'blue' },
}
end
return ''
Expand Down Expand Up @@ -113,7 +113,7 @@ basic.git = {
{ ' ', '' },
{ git_comps.diff_added({ format = ' %s' }), 'green' },
{ git_comps.diff_removed({ format = '  %s' }), 'red' },
{ git_comps.diff_changed({ format = ' %s' }), 'blue' },
{ git_comps.diff_changed({ format = ' %s' }), 'blue' },
}
end
return ''
Expand Down
4 changes: 2 additions & 2 deletions lua/wlsample/evil_line.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ basic.lsp_diagnos = {
return {
{ lsp_comps.lsp_error({ format = '  %s', show_zero = true }), 'red' },
{ lsp_comps.lsp_warning({ format = '  %s', show_zero = true }), 'yellow' },
{ lsp_comps.lsp_hint({ format = ' %s', show_zero = true }), 'blue' },
{ lsp_comps.lsp_hint({ format = ' %s', show_zero = true }), 'blue' },
}
end
return ''
Expand Down Expand Up @@ -116,7 +116,7 @@ basic.git = {
return {
{ git_comps.diff_added({ format = '  %s', show_zero = true }), 'green' },
{ git_comps.diff_removed({ format = '  %s', show_zero = true }), 'red' },
{ git_comps.diff_changed({ format = ' %s', show_zero = true }), 'blue' },
{ git_comps.diff_changed({ format = ' %s', show_zero = true }), 'blue' },
}
end
return ''
Expand Down

0 comments on commit ec334e4

Please sign in to comment.