Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

articblush/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

21 Commits

Repository files navigation

Logo
Articblush Neovim/Vim

A cold & comfy theme for Neovim using articblush!


This is a port of Articblush Colorscheme for Neovim using lua as backend for this.

demonstration

External plugins support

  • Telescope
  • Nvim Tree
  • Tresitter
  • Lsp
  • Lsp saga
  • Coc
  • Bufferline
  • Illuminate
  • Diff
  • Git signs
  • Git gutter
  • Lualine
  • Ident-BlankLine

Installation

You can use packer or vim-plug.

Packer

Put this in your packer config:

use {'articblush/articblush.nvim', as = 'articblush'}

Then execute :PackerInstall or :PackerSync to install Articblush!

Vim plug

Put this in your config

Plug 'articblush/articblush.nvim', { 'as': 'articblush' }

Enable the theme

You can use the following lua code to enable it:

local present, articblush = pcall(require, 'articblush')
if not present then
 error('Can\'t import articblush, make sure you installed it! :v')
end
articblush.setup({
 nvim_tree = {
 contrast = true, -- or false to disable tree contrast
 },
})

or if you want a more simple example:

require('articblush').setup({
 nvim_tree = {
 contrast = true, -- or false to disable tree contrast
 },
})

You can enable italics too!

require('articblush').setup({
 italics = {
 code = true,
 comments = false -- to disable italic comments, replace to true to enable
 },
 nvim_tree = {
 contrast = true
 }
})

Or with vim script if you want (not able the posibility to disable tree contrast, or enable italics)

colorscheme articblush

If you want to have the possibility to setup that options using vim script, use the next snippet as reference

lua << EOF
require('articblush').setup({
 italics = {
 code = true,
 comments = false,
 },
 nvim_tree = {
 contrast = true
 }
})
EOF

Lualine

This articblush port has lualine integration, too - enable it! (if you use lualine lmao)

require('lualine').setup {
 options = {
 theme = 'articblush',
 -- <SNIP>
 },
 -- <SNIP>
}

Getting the colors

You can get the colors of articblush using the articblush-lua based API!

local colors = require('articblush.core').get_colors()
print(colors.background)

If background is light, articblush.core.get_colors will return the light articblush palette

About

Articblush port for neovim

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

AltStyle によって変換されたページ (->オリジナル) /