• Stars
    star
    318
  • Rank 131,872 (Top 3 %)
  • Language
    Lua
  • License
    MIT License
  • Created over 4 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A vivid dark theme for modern Neovim.

Aurora a vivid night theme for vim/neovim and terminal

aurora2

Transparent mode: aurora

A vivid 24-bit dark theme for vim/neovim. Highly configurable and cook your own color highlight. Good supports for popular languages and vim plugins, handcrafted support for LSP, Treesitter.

Languages explicitly styled

  • All Neovim Treesitter highlighted-languages
  • For VIM, all languages that have a syntax file e.g.
    • C++
    • python
    • js/ts
    • json
    • markdown
    • yaml
    • css
    • sql
    • golang
    • html

Plugins explicitly styled

  • coc
  • ale
  • vim-clap
  • lsp/nvim-lsp
  • signify
  • gitgutter
  • nvim lsp diagnostics.
  • git-fugitive
  • fzf
  • telescope
  • blankline
  • gitsigns
  • treesitter

You can change/add syntax highlight. Feel free to fork or make a PR.

To install:

call dein#add('ray-x/aurora')  " for dein user

Plug 'ray-x/aurora'      " for Plug user

set termguicolors            " 24 bit color
let g:aurora_italic = 1     " italic
let g:aurora_transparent = 1     " transparent
let g:aurora_bold = 1     " bold
let g:aurora_darker = 1     " darker background

colorscheme aurora

" customize your own highlight
hi Normal guibg=NONE ctermbg=NONE "remove background
hi String guibg=#339922 ctermbg=NONE "remove background

" customize your own highlight with lua
lua <<EOF
  vim.api.nvim_set_hl(0, '@string', {fg='#59E343'})
  vim.api.nvim_set_hl(0, '@field', {fg='#f93393'})
  vim.api.nvim_set_hl(0, '@number', {fg='#e933e3'})
EOF

lua setup

A lua version is provided, if the neovim version is higher than 0.6.x, lua script will be loaded automatically. The lua version will be much faster as it using native API vim.api.nvim_set_hl() My tests shows loading the theme 5000 times took 3s, which means 0.6ms loading time. The vim version normally 15ms startup time.

#### Howto update the theme:

This project is based on [Estilo](http://estilo.jacoborus.codes/).
Estilo allow you to define color palettes and syntax highlight and then generate .vim file for you.

To update the color, edit the yml file, and run:

```bash
npm install -g estilo
yarn render
copy colors/aurora.vim ~/.vim/plugged/aurora/colors/aurora.vim

Generate lua script:

cat ../colors/aurora.vim  | awk -f aurora.awk > aurora.lua

And manually update the aurora.vim to call aurora.lua (estilo will not do it for you).

color palettes file is in aurora/estilo/palettes/ folder and syntax file in aurora/estilo/syntax/ folder.

fast startup time

On my intel 11 i7 xps, loading time is 2ms on average.

Show case

  • Go with treesitter go treesitter

  • color palettes, more than 100 pre-defined color: vim color palettes

  • syntax color highlight: aurora3

  • sidebar

image

  • color curl underline, better search highlight(only highlight bg and keep current fg color of the search text) on the right side:

vim undercurl and search hl for aurora

More Repositories

1

lsp_signature.nvim

LSP signature hint as you type
Lua
1,987
star
2

go.nvim

G'day Nvimer, Joyful Gopher: Discover the Feature-Rich Go Plugin for Neovim
Lua
1,953
star
3

navigator.lua

Code analysis & navigation plugin for Neovim. Navigate codes like a breeze🎐 Exploring LSP and 🌲Treesitter symbols a piece of 🍰 Take control like a boss 🦍
Lua
1,270
star
4

nvim

Personal neovim setup with 180+ plugins.
Lua
350
star
5

cmp-treesitter

cmp source for treesitter
Lua
225
star
6

starry.nvim

A pack of modern nvim color schemes: material, moonlight, Dracula (blood), Monokai, Mariana, Emerald, earlysummer, middlenight_blue... Fully support Treesitter, LSP and a variety of plugins.
Lua
214
star
7

sad.nvim

Space Age seD in Neovim. A project-wide find and replace plugin for Neovim.
Lua
187
star
8

guihua.lua

A GUI library for Neovim plugin developers
Lua
160
star
9

web-tools.nvim

Neovim plugin for web developers
Lua
145
star
10

forgit.nvim

Interactive fzf+git for Neovim. I remembered the git commands so you wont forget.
Lua
74
star
11

dotfiles

Shell
34
star
12

material_plus.nvim

A pack of modern nvim color schemes: material, moonlight, Dracula (blood), Monokai, Mariana, Emerald, earlysummer, middlenight_blue... Fully support Treesitter, LSP and a variety of plugins.
Lua
23
star
13

Wifi-TI3200

iOS APP for WIFI starter of TI 3200, fix multiple issue on building
Objective-C
21
star
14

telescope-ast-grep.nvim

AST grep extension for telescope.nvim
Lua
20
star
15

viewdoc.nvim

Search and view your (vim plugins) markdown & help files with glow
Lua
19
star
16

rtems_book

rtems internal and development
15
star
17

ButtonAnimationCollage

Animate the iOS button with CABasicAmimation. Provide Ripple, border, invert effects.
Objective-C
12
star
18

cmp-sql

SQL keywords for cmp
Lua
11
star
19

mkdn.nvim

markdown note taking tools with LSP
Lua
10
star
20

Revised_II

RenPy Visual editor
C++
4
star
21

yamlmatter.nvim

Enhancing the display of YAML frontmatter in Markdown files
Lua
4
star
22

AudioAnalysis

Java
2
star
23

Gululu

Gamify Your Fitness
Swift
2
star
24

ray-x

2
star
25

blog

django-blog
CSS
1
star
26

ray-x.github.io

ray-x blog page
HTML
1
star