Git Product home page Git Product logo

nordbuddy's Introduction

nordic.nvim

A nord-esque colorscheme.

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

Color Preview

Requirements

  • Neovim 0.5+

Usage

nordic.nvim 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 {
    'andersevenrud/nordic.nvim',
    config = function()
        -- The table used in this example contains the default settings.
        -- Modify or remove these to your liking (this also applies to alternatives below):
        require('nordic').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,

            -- Darker backgrounds for certain sidebars, popups, etc.
            -- Options: true, false, or a table of explicit names
            -- Supported: terminal, qf, vista_kind, packer, nvim-tree, telescope, whichkey
            alternate_backgrounds = false,

            -- Callback function to define custom color groups
            -- See 'lua/nordic/colors/example.lua' for example defitions
            custom_colors = function(c, s, cs)
              return {}
            end
        })
    end
}

Alternatives

For example vim-plug:

Plug 'andersevenrud/nordic.nvim'

Using Lua

Via the nordic.nvim module:

require('nordic').colorscheme({
    underline_option = 'none',
    italic = true,
    italic_comments = false,
    minimal_mode = false,
    alternate_backgrounds = 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.g.nord_alternate_backgrounds = false
vim.cmd('colorscheme nordic')

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
let g:nord_alternate_backgrounds = v:false
colorscheme nordic

Notes

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

nordbuddy's People

Contributors

andersevenrud avatar maaslalani avatar f3fora avatar evanphx avatar gegoune avatar 9seconds avatar dsully avatar ikalnytskyi avatar xaerru avatar

Watchers

James Cloos avatar  avatar

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.