Skip to content

Mofiqul/adwaita.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Adwaita.nvim

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!