# nvim-transparent **Repository Path**: mirrors_telescope/nvim-transparent ## Basic Information - **Project Name**: nvim-transparent - **Description**: nvim-transparent - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-06-07 - **Last Updated**: 2022-06-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # nvim-transparent Remove all background colors to make nvim transparent. ![screenshot](https://user-images.githubusercontent.com/47070852/124546661-9353ce80-de5d-11eb-81ba-f8282e034d9f.gif) --- ## Usage Example config ```lua require("transparent").setup({ enable = true, -- boolean: enable transparent extra_groups = { -- table/string: additional groups that should be cleared -- In particular, when you set it to 'all', that means all available groups -- example of akinsho/nvim-bufferline.lua "BufferLineTabClose", "BufferlineBufferSelected", "BufferLineFill", "BufferLineBackground", "BufferLineSeparator", "BufferLineIndicatorSelected", }, exclude = {}, -- table: groups you don't want to clear }) ``` You can also set the `groups` option to override the default groups. The default groups: `Normal` `NormalNC` `Comment` `Constant` `Special` `Identifier` `Statement` `PreProc` `Type` `Underlined` `Todo` `String` `Function` `Conditional` `Repeat` `Operator` `Structure` `LineNr` `NonText` `SignColumn` `CursorLineNr`. --- The global variable `g:transparent_enabled` has greater priority to option `enable`. Some plugins or themes support setting transparency, and you can use this variable as a flag. eg: `vim.g.tokyonight_transparent = vim.g.transparent_enabled` **Disable by default** ```vim let g:transparent_enabled = v:false ``` ## Commands ``` :TransparentEnable :TransparentDisable :TransparentToggle ``` ## Aknowledgement [vim-transparent](https://github.com/Kjwon15/vim-transparent)