diff --git a/README.md b/README.md index 4d3bd5c..730fd43 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,8 @@ require('lualine').setup { The theme comes in two styles, `storm` and a darker variant `night`. +Lua: + ```lua -- The theme comes in two styles, "storm" and a darker variant "night". vim.g.tokyonight_style = "storm" @@ -91,3 +93,26 @@ vim.g.tokyonight_transparent = false -- the standard `StatusLine` and `LuaLine`. vim.g.tokyonight_hide_inactive_statusline = true ``` + +Vim Script: +```vim +" The theme comes in two styles, 'storm' and a darker variant 'night'. +let g:tokyonight_style = "storm" + +" Comments are italicized by default +let g:tokyonight_italic_comments = 1 + +" Keywords are italicized by default +let g:tokyonight_italic_keywords = 1 + +" Functions are not italicized by default +let g:tokyonight_italic_functions = 0 + +" Enable this to disable setting the background color +let g:tokyonight_transparent = 0 + +" Enabling this option, will hide inactive statuslines and +" replace them with a thin border instead. Should work with +" the standard `StatusLine` and `LuaLine`. +let g:tokyonight_hide_inactive_statusline = 1 +```