From f6776fb77dbb7e34bc14a2734c1d7d628a0b3241 Mon Sep 17 00:00:00 2001 From: nullchilly Date: Thu, 14 Jul 2022 17:21:15 +0700 Subject: [PATCH] chore(readme): Fix inconsistent spacing --- README.md | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 32a0985..cf5f272 100644 --- a/README.md +++ b/README.md @@ -262,10 +262,10 @@ let g:lightline = {'colorscheme': 'catppuccin'} ```lua require('lualine').setup { - options = { - theme = "catppuccin" - -- ... the rest of your lualine config - } + options = { + theme = "catppuccin" + -- ... the rest of your lualine config + } } ``` @@ -274,22 +274,22 @@ require('lualine').setup { ```lua integration = { - nvimtree = { - enabled = true, - show_root = true, -- makes the root folder not transparent - transparent_panel = false, -- make the panel transparent - } + nvimtree = { + enabled = true, + show_root = true, -- makes the root folder not transparent + transparent_panel = false, -- make the panel transparent + } } ``` - **Neo-tree:** setting `enabled` to `true` enables this integration: ```lua integration = { - neotree = { - enabled = true, - show_root = true, -- makes the root folder not transparent - transparent_panel = false, -- make the panel transparent - } + neotree = { + enabled = true, + show_root = true, -- makes the root folder not transparent + transparent_panel = false, -- make the panel transparent + } } ``` @@ -381,9 +381,9 @@ Colors can be overwritten using `vim.g.catppucin_override_colors`: ```lua vim.g.catppuccin_override_colors = { - base = "#ff0000", - mantle = "#242424", - crust = "#474747", + base = "#ff0000", + mantle = "#242424", + crust = "#474747", } ``` @@ -412,11 +412,11 @@ Instead of `after_loading` hook, you can use autocmd event like this: ```lua vim.api.nvim_create_autocmd("User", { - pattern = "CatppuccinLoaded", - callback = function() - local colors = require("catppuccin.api.colors").get_colors() - -- do something with colors - end + pattern = "CatppuccinLoaded", + callback = function() + local colors = require("catppuccin.api.colors").get_colors() + -- do something with colors + end }) ```