Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Mofiqul/adwaita.nvim

Neovim colorscheme using Gnome Adwaita syntax
https://github.com/Mofiqul/adwaita.nvim

adwaita-theme color-scheme neovim treesitter

Last synced: 14 days ago
JSON representation

Neovim colorscheme using Gnome Adwaita syntax

Awesome Lists containing this project

README

        

Adwaita.nvim

Neovim colorscheme using Gnome Adwaita syntax

![Adwaita Nvim](./adwaita-nvim.png)

## Supported Plugins

- [Git Gutter](https://github.com/airblade/vim-gitgutter)
- [Git Signs](https://github.com/lewis6991/gitsigns.nvim)
- [LSP](https://github.com/neovim/nvim-lspconfig)
- [Lualine](https://github.com/hoob3rt/lualine.nvim)
- [NvimTree](https://github.com/kyazdani42/nvim-tree.lua)
- [Telescope](https://github.com/nvim-telescope/telescope.nvim)
- [Treesitter](https://github.com/nvim-treesitter/nvim-treesitter)
- [nvim-cmp](https://github.com/hrsh7th/nvim-cmp)
- [nvim-compe](https://github.com/hrsh7th/nvim-compe)

## ⬇️ Installation

> This colorscheme requires [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter)

Install via package manager

```lua
-- Lazy.nvim:
require('lazy').setup({
-- your other plugins

-- this theme
{
"Mofiqul/adwaita.nvim",
lazy = false,
priority = 1000,
},
})
```

```lua
-- Packer:
use 'Mofiqul/adwaita.nvim'
```

```vim
" Vim-Plug:
Plug 'Mofiqul/adwaita.nvim'
```

## 🚀 Usage

```lua
-- 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
-- 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
" 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`](https://github.com/hoob3rt/lualine.nvim), you can also enable the provided theme:

```lua
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!