custom #00ff00 #000000 fork from iruzo/nvim-matrix-theme
-
Supported plugins:
-
Ability to change background on sidebar-like windows like Nvim-Tree, Packer, terminal ...
- Neovim >= 0.5.0
- Plug
Plug 'homelessananpat/purematrix.nvim'- Packer
use 'homelessananpat/purematrix.nvim'- lazy
'homelessananpat/purematrix.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 |
-- homeless Example config in lua
vim.g.matrix_contrast = false
vim.g.matrix_borders = true
vim.g.matrix_disable_background = true
vim.g.matrix_cursorline_transparent = false
vim.g.matrix_enable_sidebar_background = false
vim.g.matrix_italic = true
-- Load the colorscheme
require('matrix').set()" homeless Example config in Vim-Script
let g:matrix_contrast = v:false
let g:matrix_borders = v:true
let g:matrix_disable_background = v:true
let g:matrix_cursorline_transparent = v:false
let g:matrix_enable_sidebar_background = v:false
let g:matrix_italic = v:true
" Load the colorscheme
colorscheme matrixreturn {
-- Install pureMatrix theme
{
"homelessananpat/purematrix.nvim",
lazy = false,
priority = 1000, -- Ensures it loads before other UI plugins
config = function()
-- Optional global configuration
vim.g.matrix_contrast = false
vim.g.matrix_borders = true
vim.g.matrix_disable_background = true
vim.g.matrix_cursorline_transparent = false
vim.g.matrix_enable_sidebar_background = false
vim.g.matrix_italic = true
-- Load the colorscheme settings
require("matrix").set()
end,
},
-- Set LazyVim to use purematrix as the active colorscheme
{
"LazyVim/LazyVim",
opts = {
colorscheme = "matrix",
},
},
}
