Skip to content

Latest commit

 

History

History
108 lines (89 loc) · 3.23 KB

README.md

File metadata and controls

108 lines (89 loc) · 3.23 KB

A quietlight theme generate from vscode quietlight theme and quietlight.vim


Lua Python
nvim-tree telescope.nvim

中文指南
lualine.nvim for statusline, bufferline.nvim for tabline, and winbar.nvim for winbar

Requirements

  • Neovim v0.7.0 or higher.

Note: Some plugin integrations (treesitter) require Neovim v0.8. If your Neovim version doesn't support a plugin integration,nvim-quietlight displays a warning message when enabling that integration. Use Neovim v0.8.0 or higher.

  • Don't support VIM, if you want vim verison supported see quietlight.nvim

  • A terminal with true colour support will better although nvim-quietlight support ANSI terminal colors

Installation

Install nvim-quietlight with your favorite package manager

use("HUAHUAI23/nvim-quietlight") -- packer.nvim

Usage

To use nvim-quietlight's default configuration, add the following to your Neovim configuration:

vim.opt.background = 'light'
vim.cmd('colorscheme quietlight')
-- add this for disable colorcolumn
vim.cmd("highlight clear ColorColumn")

Configuration

this is default configuration and you can overwrite the default settings:

require("nvim-quietlight").setup({
 ansi_terminal_colors = "",  -- "colors1", "color2" or "colors3"
 transparent_background = false,
 dim_inactive_windows = {
  enabled = false,
  color = nil,
 },
 syntax = {
  booleans = {}, --{ bold = true, italic = true } or { fg = "#xxxxxx", bg="#xxxxxx" }
  comments = {}, -- see nvim.api.nvim_set_hl  https://neovim.io/doc/user/api.html
  identifiers = {},
  statements = {},
  conditionals = {},
  constants = {},
  fields = {},
  functions = {},
  keywords = {},
  loops = {},
  numbers = {},
  operators = {},
  punctuation = {},
  strings = {},
  types = {},
  preproc = {},
 },
 plugins = {
  gitsigns = true,
  lsp = true,
  bufferline = true,
  treesitter = true,
  notify = true,
  nvimtree = true,
  indentline = true,
 },
})

You must invoke the setup function before the :colorscheme quietlight command to respect your configuration settings.

Note: You can omit empty tables and nil fields in the configuration table to respect default settings.

you can make your plugins highlight group and place it on this
The windows terminal theme is in there