• Stars
    star
    196
  • Rank 198,553 (Top 4 %)
  • Language
    Lua
  • Created over 2 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Neovim colorscheme using Gnome Adwaita syntax

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!