maaslalani/nordbuddy

github github
treesitter-colorschemes plugin
star 54
stars
alert-circle 0
open issues
users 3
subscribers
git-branch 6
forks
CREATED

2020-12-17

UPDATED

15 hours ago

packer

require('packer').startup(function()
  use 'maaslalani/nordbuddy'
end)

paq

require "paq" { 
  'maaslalani/nordbuddy'
}

Nordbuddy

A nord-esque colorscheme.

Nordbuddy supports highlighting for Treesitter, Neovim LSP, Telescope, and much more.

Color Preview

Requirements

  • Neovim 0.5+

Usage

Nordbuddy can be installed using any package manager and configuration language of choice.

With packer.nvim

packer.nvim provides an easy way to install, enable and configure this colorscheme:

use {
    'maaslalani/nordbuddy',
    config = function()
        -- The table used in this example contains the default settings.
        -- Modify or remove these to your liking:
        require('nordbuddy').colorscheme({
            -- Underline style used for spelling
            -- Options: 'none', 'underline', 'undercurl'
            underline_option = 'none',

            -- Italics for certain keywords such as constructors, functions,
            -- labels and namespaces
            italic = true,

            -- Italic styled comments
            italic_comments = false,

            -- Minimal mode: different choice of colors for Tabs and StatusLine
            minimal_mode = false
        })
    end
}

Alternatives

For example vim-plug:

Plug 'maaslalani/nordbuddy'

Using Lua

Via the nordbuddy module:

require('nordbuddy').colorscheme({
    underline_option = 'none',
    italic = true,
    italic_comments = false,
    minimal_mode = false
})

or via vim globals:

vim.g.nord_underline_option = 'none'
vim.g.nord_italic = true
vim.g.nord_italic_comments = false
vim.g.nord_minimal_mode = false
vim.cmd('colorscheme nordbuddy')

Using Vimscript

let g:nord_underline_option = 'none'
let g:nord_italic = v:true
let g:nord_italic_comments = v:false
let g:nord_minimal_mode = v:false
colorscheme nordbuddy

Notes

Certain plugin highlights are configured manually with Lua tables. This colorscheme comes with some pre-made configurations and instructions.