Skip to content
ํ”„๋กœ์ ํŠธ

์†Œ๊ฐœ

๐Ÿฆ‰ ๐ŸŒŒ Neovim์šฉ Night Owl ์ƒ‰์ƒ ํ…Œ๋งˆ ๊ตฌํ˜„์œผ๋กœ, Treesitter์™€ ์‹œ๋งจํ‹ฑ ํ† ํฐ์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค.

๊ฐœ๋ฐœ ๋„๊ตฌ

์ด ์ˆ˜์น˜๋ฅผ ์ธก์ •ํ•˜๋Š” ๋ฐฉ๋ฒ•

์ธก์ •๋œ ์Šคํƒ€ ์ฆ๊ฐ€

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
๊ธฐ๋ก ์ˆ˜์ง‘ ์ค‘

์„œ๋กœ ๊ฒน์น˜๋Š” ๊ธฐ๊ฐ„์˜ ์ˆœ์ฆ๊ฐ€๋Ÿ‰์ด๋ฉฐ ์ผ๋ณ„ ํ•ฉ๊ณ„๊ฐ€ ์•„๋‹™๋‹ˆ๋‹ค. ์ธก์ •๊ฐ’์ด ์—†์œผ๋ฉด ๋น„์›Œ ๋‘ก๋‹ˆ๋‹ค. ์Šคํƒ€๋Š” ๊ด€์‹ฌ๋„๋ฅผ ๋‚˜ํƒ€๋‚ด๋ฉฐ ํ’ˆ์งˆ์„ ๋ณด์žฅํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

README.md

Original

๐Ÿฆ‰ night-owl.nvim ๐ŸŒŒ

All Contributors
Illustration of an owl TypeScript code with Night Owl syntax highlighting on

The best implementation of Sarah Drasner's Night Owl VSCode theme for Neovim with support for Tree-sitter and semantic tokens.

๐Ÿ“ฆ Install In Zero Time

packer.nvim

use("oxfist/night-owl.nvim")

lazy.nvim

require("lazy").setup({
  "oxfist/night-owl.nvim",
  lazy = false, -- make sure we load this during startup if it is your main colorscheme
  priority = 1000, -- make sure to load this before all the other start plugins
  config = function()
    -- load the colorscheme here
    require("night-owl").setup()
    vim.cmd.colorscheme("night-owl")
  end,
})

vim-plug

Plug 'oxfist/night-owl.nvim'

๐Ÿš€ Start Using With A Single Line

[!NOTE] You can skip this step if you followed the lazy.nvim setup, which already sets the colorscheme.

Add the following to your Lua configuration files, e.g. ~/.config/nvim/init.lua (your actual path might be different):

require("night-owl").setup()
vim.cmd.colorscheme("night-owl")

To enable night-owl for lualine.nvim, simply set the theme like this in your settings ๐Ÿ‘‡:

-- This Lualine config should be somewhere in your config files
require('lualine').setup {
  options = {
    -- ... other configs
    theme = 'night-owl'
    -- ... other configs
  }
}

โš™๏ธ Configuration

The styling of the theme can be customized by calling setup():

local night_owl = require("night-owl")

-- ๐Ÿ‘‡ Add your own personal settings here
--@param options Config|nil
night_owl.setup({
    -- These are the default settings
    bold = true,
    italics = true,
    underline = true,
    undercurl = true,
    transparent_background = false,
})

๐Ÿ–ฅ๏ธ Requirements

TODO

๐Ÿ”Ž Comparison

How does this port compare to the original VSCode theme? Check it out!

Night Owl for VSCode This Theme ๐Ÿคฉ
Screenshot of VSCode theme Screenshot of this theme

โœจ Why Should You Pick This Version of Night Owl?

This implementation of Night Owl solves several syntax highlight issues and discrepancies similar ports have when comparing to the original VSCode theme.

The following features allow making the programming experience as close to the original VSCode theme as possible:

  1. Extended highlight groups: through additional Treesitter queries. See after/queries for implementation details.
  2. Different background color when Neovim is inactive: through autocommands. See after/plugin/autocmds.lua for implementation details.
๐Ÿ‘‡ Click to see comparison with haishanh/night-owl.vim

With Treesitter installed you can see the overall look and feel is significantly different:

  • Different colors for several keywords like let, const, async, function, etc. Same happens for class names EditFishForm and Sale.
  • Italics not applied anywhere except for comments.
  • Italics incorrectly applied to JSDoc keywords @param and @returns.
haishanh/night-owl.vim This Theme
Screenshot of haishanh theme Screenshot of this theme

Language Support ๐ŸŒ

JavaScript Typescript JSON Markdown Lua
Vimscript R Python Bash

[!NOTE] I've personally optimized the colorscheme styling and robustness for these languages extensively enough to confidently say they look acceptable to me. If you happen to build software with them, then I invite you to try out this theme! ๐Ÿ™‚

Coming Soon:

  • Lua โœ…
  • Vimscript โœ…
  • R โœ…
  • Python โœ…
  • Bash โœ…
  • TSX, Rust, Ruby, and many more!

๐Ÿงฉ Plugins Supported

๐ŸŽ‡ Credits

  • Sarah Drasner first and foremost, for creating such a beautiful and artistic color scheme that has made, for me personally, so much more pleasurable the exhilirating act of building software.
  • https://www.monolisa.dev/ for one of the sweetest programming fonts out there.
  • Christian Chiarulli for creating colorgen-nvim, an essential tool that helped me get started with this implementation.

Code of Conduct

License

Contributors

Andrรฉs Quilodrรกn
Andrรฉs Quilodrรกn

๐Ÿšง ๐Ÿ’ป ๐Ÿ› ๐Ÿ“–
Dominik Garcia
Dominik Garcia

๐Ÿ› ๐Ÿ’ป
Rish
Rish

๐Ÿ›
Michael Lazarski
Michael Lazarski

๐Ÿ›
Denis Washington
Denis Washington

๐Ÿ›
kmlopez-hhl
kmlopez-hhl

๐Ÿ›
Benson9954029
Benson9954029

๐Ÿ“–
Silver Hong
Silver Hong

๐Ÿ›
Sebastian Vilhelm Juhl
Sebastian Vilhelm Juhl

๐Ÿ›
Jason Sprinkle
Jason Sprinkle

๐Ÿ’ป
bendk
bendk

๐Ÿ’ป
Gรถkay BรœRรœร‡
Gรถkay BรœRรœร‡

๐Ÿค”
Sean Tsai
Sean Tsai

๐Ÿ“– ๐Ÿ’ป
Georgiy Kuzora
Georgiy Kuzora

๐Ÿ’ป
Andrew Berty
Andrew Berty

๐Ÿ›
FStanDev
FStanDev

๐Ÿ›
Roland Haller
Roland Haller

๐Ÿ› ๐Ÿ’ป

๊ด€๋ จ ํ”„๋กœ์ ํŠธ ์‚ดํŽด๋ณด๊ธฐ

๋ถˆ๋Ÿฌ์˜ค๋Š” ์ค‘โ€ฆ