style: change appearance of word count and reading time
change icons remove words and extra spacing
This commit is contained in:
@@ -86,8 +86,8 @@ return {
|
|||||||
wpm = 200.0,
|
wpm = 200.0,
|
||||||
filetypes = { 'markdown', 'asciidoc' },
|
filetypes = { 'markdown', 'asciidoc' },
|
||||||
placeholders = {
|
placeholders = {
|
||||||
words = 'words',
|
words = nil,
|
||||||
minutes = 'min',
|
minutes = nil,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -177,7 +177,7 @@ return {
|
|||||||
{
|
{
|
||||||
-- display estimated reading time
|
-- display estimated reading time
|
||||||
function()
|
function()
|
||||||
return ' ' .. prose.reading_time()
|
return ' ' .. prose.reading_time()
|
||||||
end,
|
end,
|
||||||
cond = function()
|
cond = function()
|
||||||
local window_size = conditions.min_statusline_width(100)
|
local window_size = conditions.min_statusline_width(100)
|
||||||
@@ -188,7 +188,7 @@ return {
|
|||||||
{
|
{
|
||||||
-- display a word count for the document
|
-- display a word count for the document
|
||||||
function()
|
function()
|
||||||
return ' ' .. prose.word_count()
|
return ' ' .. prose.word_count()
|
||||||
end,
|
end,
|
||||||
cond = function()
|
cond = function()
|
||||||
local window_size = conditions.min_statusline_width(90)
|
local window_size = conditions.min_statusline_width(90)
|
||||||
|
|||||||
Reference in New Issue
Block a user