Adwaita.nvim
Neovim colorscheme using Gnome Adwaita syntax
Supported Plugins
β¬οΈ Installation
This colorscheme requires nvim-treesitter
Install via package manager
-- Lazy.nvim:
require('lazy').setup({
-- your other plugins
-- this theme
{
"Mofiqul/adwaita.nvim",
lazy = false,
priority = 1000,
},
})
-- Packer:
use 'Mofiqul/adwaita.nvim'
" Vim-Plug:
Plug 'Mofiqul/adwaita.nvim'
π Usage
-- Lua:
vim.g.adwaita_darker = true -- for darker version
vim.g.adwaita_disable_cursorline = true -- to disable cursorline
vim.g.adwaita_transparent = true -- makes the background transparent
vim.cmd([[colorscheme adwaita]])
-- Lua with Lazy.nvim:
{
"Mofiqul/adwaita.nvim",
lazy = false,
priority = 1000,
-- configure and set on startup
config = function()
vim.g.adwaita_darker = true -- for darker version
vim.g.adwaita_disable_cursorline = true -- to disable cursorline
vim.g.adwaita_transparent = true -- makes the background transparent
vim.cmd('colorscheme adwaita')
end
}
" Vim-Script:
let g:adwaita_darker = v:true " for darker version
let g:adwaita_disable_cursorline = v:true " to disable cursorline
let g:adwaita_transparent = v:true " makes the background transparent
colorscheme adwaita
If you are using lualine
, you can also enable the provided theme:
require("lualine").setup({
options = {
-- ...
theme = "adwaita",
-- ...
},
})
Something is broken but I know how to fix it!
Pull requests are welcome! Feel free to send one with an explanation!