From 2c87c1c32d5bda8746e7566a8b2d9403bc3e5e22 Mon Sep 17 00:00:00 2001 From: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com> Date: Thu, 30 Mar 2023 11:28:27 +0600 Subject: [PATCH] chore: place datetime component docs in correct location --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 280fc9e..a67a61d 100644 --- a/README.md +++ b/README.md @@ -523,6 +523,20 @@ sections = { } ``` +#### datetime component options + +```lua +sections = { + lualine_a = { + { + 'datetime', + -- options: default, us, uk, iso, or your own format string ("%H:%M", etc..) + style = 'default' + } + } +} +``` + #### diagnostics component options ```lua @@ -641,20 +655,6 @@ sections = { } ``` -#### datetime component options - -```lua -sections = { - lualine_a = { - { - 'datetime', - -- options: default, us, uk, iso, or your own format string ("%H:%M", etc..) - style = 'default' - } - } -} -``` - #### tabs component options ```lua