Skip to content
项目

关于

雾气笼罩编辑器 ☁ 受森林启发的 Vim 和 Neovim 深色配色方案

开发工具

这些数字如何统计

实测星标增长

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

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

README.md

原文

miasma.nvim ☁️

a color scheme for {neo,}vim inspired by the woods, built using lush 👄

supports treesitter, gitsigns, lazy, which-key, telescope, lsp diagnostics, and more.

theme preview

┏┏┓o┳━┓┓━┓┏┏┓┳━┓
┃┃┃┃┃━┫┗━┓┃┃┃┃━┫
┛ ┇┇┛ ┇━━┛┛ ┇┛ ┇

a fog descends upon your editor https://github.com/xero/miasma.nvim

flavors

this theme is available in a classic vim compatible format, optimized lua, and a development lua version. you can install different flavors by using the corresponding branches:

  • main - classic vim version
  • lua - optimized lua version (coming soon)
  • dev - development lua version

for speed and greatest compatibility, use the main branch.

installation

using lazy

{
  "xero/miasma.nvim",
  lazy = false,
  priority = 1000,
  config = function()
    vim.cmd("colorscheme miasma")
  end,
}

using plug

Plug 'xero/miasma.nvim'
colorscheme miasma

using packer

use {"xero/miasma.nvim"}
vim.cmd("colorscheme miasma")

usage

set the color scheme with the builtin command :colorscheme

customization

this theme is built with lush.nvim, so customizations are quite easy.

first, checkout the dev branch git fetch origin dev && git checkout dev, open the lua theme nvim lua/lush_theme/miasma.lua and execute :Lushify. then adjust colors to suit your taste with real-time feedback. checkout the dev branch readme for details on building the optimized colorscheme. lots more details on using lush in their repo.

extras

this theme has been ported to a few different apps, and are included in the extras directory:

  • miasma.Xresources - colors for xclients (e.g. unix terminal emulators)
  • miasma.itermcolors - colors for iterm2
  • miasma.fish - colors for fish
  • miasma.zsh - colors for zsh
  • miasma.yml - colors for alacritty (yml format)
  • miasma.toml - colors for alacritty (toml format)
  • miasma.colorscheme - colors for qterminal
  • miasma.ghostty - colors for ghostty

more on the way, and pr's for others are welcomed!

license

kopimi logo

all files and scripts in this repo are released CC0 / kopimi! in the spirit of freedom of information, i encourage you to fork, modify, change, share, or do whatever you like with this project! ^c^v

探索相关项目

加载中…