(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>
navigator
Sage Baram 3 years ago committed by GitHub
parent ebdcd4cae1
commit ea0a221230
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,7 +44,10 @@ gls.left[3] = {
gls.left[4] = {
FileName = {
provider = {"FileName"},
provider = function()
local fileinfo = require('galaxyline.provider_fileinfo')
return fileinfo.get_current_file_name("", "")
end,
condition = condition.buffer_not_empty,
highlight = {colors.white, colors.lightbg},
separator = right_separator,

Loading…
Cancel
Save