(feat) add filename edit/lock icons provider (#253)
* (feat) add filename edit/lock icons provider * Update statusline.lua Co-authored-by: Sage Baram <sagebaram@gamil.com> Co-authored-by: siduck76 <siduck13@gmail.com>
This commit is contained in:
parent
ebdcd4cae1
commit
ea0a221230
@ -44,7 +44,10 @@ gls.left[3] = {
|
|||||||
|
|
||||||
gls.left[4] = {
|
gls.left[4] = {
|
||||||
FileName = {
|
FileName = {
|
||||||
provider = {"FileName"},
|
provider = function()
|
||||||
|
local fileinfo = require('galaxyline.provider_fileinfo')
|
||||||
|
return fileinfo.get_current_file_name("", "")
|
||||||
|
end,
|
||||||
condition = condition.buffer_not_empty,
|
condition = condition.buffer_not_empty,
|
||||||
highlight = {colors.white, colors.lightbg},
|
highlight = {colors.white, colors.lightbg},
|
||||||
separator = right_separator,
|
separator = right_separator,
|
||||||
|
Loading…
Reference in New Issue
Block a user