From 9c9212c5b63675b43459e29858d3e0a64bce9507 Mon Sep 17 00:00:00 2001 From: hoob3rt Date: Wed, 3 Mar 2021 00:34:45 +0100 Subject: [PATCH] docs: updated README.md --- README.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 961bb1d..63e30e3 100644 --- a/README.md +++ b/README.md @@ -132,17 +132,16 @@ lualine.inactive_sections = {
Available components -* general - * branch (git branch) - * diagnostics (diagnostics count from your prefered source) - * encoding (file encoding) - * fileformat (file format) - * filename - * filetype - * location (location in file in line:column format) - * mode (vim mode) - * progress (%progress in file) - * diff (git diff status) +* branch (git branch) +* diagnostics (diagnostics count from your prefered source) +* encoding (file encoding) +* fileformat (file format) +* filename +* filetype +* location (location in file in line:column format) +* mode (vim mode) +* progress (%progress in file) +* diff (git diff status)
@@ -166,7 +165,7 @@ lualine.sections.lualine_a = { hello } You can use vim functions as a lualine component -``` +```lua lualine.sections.lualine_b = { 'FugitiveHead' } ``` @@ -179,7 +178,7 @@ You can use variables from vim and lua globals as a lualine component Variables from g:, v:, t:, w:, b:, o, go:, vo:, to:, wo:, bo: scopes can be used. Scopes ending with o are options usualy accessed with `&` in vimscript -``` +```lua lualine.sections.lualine_b = { 'g:coc_status', 'bo:filetype' } ```