-
Supported plugins:
-
Ability to change background on sidebar-like windows like Nvim-Tree, Packer, terminal ...
- Neovim >= 0.5.0
- Plug
Plug 'iruzo/matrix-nvim'
- Packer
use 'iruzo/matrix-nvim'
- lazy
'iruzo/matrix-nvim',
Enable the colorscheme:
- Vim-Script
colorscheme matrix
- Lua
vim.cmd[[colorscheme matrix]]
vim.api.nvim_command "colorscheme matrix"
To enable the matrix
theme for Lualine
, simply specify it in your lualine settings:
require('lualine').setup {
options = {
-- ... your lualine config
theme = 'matrix'
-- ... your lualine config
}
}
Option | Default | Description |
---|---|---|
matrix_contrast | false |
Make sidebars and popup menus like nvim-tree and telescope have a different background |
matrix_borders | false |
Enable the border between verticaly split windows visable |
matrix_disable_background | false |
Disable the setting of background color so that NeoVim can use your terminal background |
matrix_cursorline_transparent | false |
Set the cursorline transparent/visible |
matrix_enable_sidebar_background | false |
Re-enables the background of the sidebar if you disabled the background of everything |
matrix_italic | true |
enables/disables italics |
-- Example config in lua
vim.g.matrix_contrast = true
vim.g.matrix_borders = false
vim.g.matrix_disable_background = false
vim.g.matrix_italic = false
-- Load the colorscheme
require('matrix').set()
" Example config in Vim-Script
let g:matrix_contrast = v:true
let g:matrix_borders = v:false
let g:matrix_disable_background = v:false
let g:matrix_italic = v:false
" Load the colorscheme
colorscheme matrix