Mofiqul/adwaita.nvim

github github
plugincolorschemetreesitter-colorschemes
stars 181
issues 3
subscribers 5
forks 16
CREATED

2022-04-06

UPDATED

3 months ago


Neovim colorscheme using Gnome Adwaita syntax

Adwaita Nvim

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!