diff --git a/README.md b/README.md index a354b5b..35503cd 100644 --- a/README.md +++ b/README.md @@ -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 { ' ] ' }, diff --git a/lua/windline/components/virtualenv.lua b/lua/windline/components/virtualenv.lua index ecc8151..9ed07db 100644 --- a/lua/windline/components/virtualenv.lua +++ b/lua/windline/components/virtualenv.lua @@ -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') diff --git a/lua/wlsample/airline.lua b/lua/wlsample/airline.lua index 5b64654..61f1c08 100644 --- a/lua/wlsample/airline.lua +++ b/lua/wlsample/airline.lua @@ -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' } @@ -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 '' diff --git a/lua/wlsample/airline_luffy.lua b/lua/wlsample/airline_luffy.lua index d0afef4..9db74b3 100644 --- a/lua/wlsample/airline_luffy.lua +++ b/lua/wlsample/airline_luffy.lua @@ -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' } diff --git a/lua/wlsample/bubble.lua b/lua/wlsample/bubble.lua index 864e4e4..e009223 100644 --- a/lua/wlsample/bubble.lua +++ b/lua/wlsample/bubble.lua @@ -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 '' @@ -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 '' diff --git a/lua/wlsample/bubble2.lua b/lua/wlsample/bubble2.lua index 4bc4c32..7d5c89f 100644 --- a/lua/wlsample/bubble2.lua +++ b/lua/wlsample/bubble2.lua @@ -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 '' @@ -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 '' diff --git a/lua/wlsample/evil_line.lua b/lua/wlsample/evil_line.lua index f246833..435e5c8 100644 --- a/lua/wlsample/evil_line.lua +++ b/lua/wlsample/evil_line.lua @@ -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 '' @@ -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 ''