Skip to content
项目

关于

Neovim colorscheme using Gnome Adwaita syntax

开发工具

这些数字如何统计

实测星标增长

24小时
+1
7天
+1
15天
+1
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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!

探索相关项目

加载中…