Code Monkey home page Code Monkey logo

nvim's Introduction

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

nvim's People

Contributors

alphatechnolog avatar findyourwings avatar sioodmy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sioodmy dembicki

nvim's Issues

deprecated function

newest neovim returns this error

vim.highlight.create is deprecated, use vim.api.nvim_set_hl instead. See :h deprecated
This function will be removed in Nvim version 0.9
stack traceback:
        ...nwrapped-master/share/nvim/runtime/lua/vim/highlight.lua:14: in function 'hi'
        .../vimplugin-articblush-nvim/lua/articblush/highlights.lua:8: in function 'highlight_all'
        .../start/vimplugin-articblush-nvim/lua/articblush/init.lua:20: in function 'setup'
        /home/sioodmy/.config/nvim/lua/core/options.lua:58: in main chunk
        [C]: in function 'require'
        /home/sioodmy/.config/nvim/config.lua:3: in main chunk

Missing bracket

Heyyo theres an error when doing colorscheme articblush.
Complains about the missing curly bracket inside colors/articblush.vim ๐Ÿ˜…

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.