Skip to content

bluloco theme for neovim, without external dependencies & terminal themes.

License

Notifications You must be signed in to change notification settings

mistweaverco/bluloco.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner-light banner-dark

Bluloco.nvim

Note

This is a fork of the original Bluloco for neovim by the awesome uloco.

All hard work was done by him, I just removed the lush dependency and the terminal themes.

A fancy and sophisticated designer neovim theme. It features a much more comprehensive usage of syntax scopes and color consistency, with due regards to aesthetics, contrast and readability. There is a light and dark variant. Most popular plugins are also supported, see Plugins

This theme also works very good with blue light filters like Apple's Nightshift Mode or f.lux.

This is a port of the popular Visual Studio Code Themes Bluloco Light and Bluloco Dark

Screenshots

See the wiki screenshots section for a lot of 😅 screenshots.

Features

  • Exhaustive plugin support
  • Written in lua

Plugins

Currently supported (aka. tested) plugins:

Install

Install Bluloco with your lazy.nvim:

{
  'mistweaverco/bluloco.nvim',
  config = function()
    require('bluloco').setup({
      theme = 'dark', -- 'dark' or 'light'
      terminal = true, -- 'true' or 'false', set the theme variant for terminal windows
      italic_comments = false, -- 'true' or 'false', use italic for comments
      disable_cache = false, -- if you want to disable the caching feature
      dev = false, -- set to true to disable cache entirely and enable hot reloading of the theme
    })
  end,
  lazy = false,
  priority = 1000,
},

Usage

vim.cmd('colorscheme bluloco')

Caching

Because the compiled palette is quite large, the theme is cached by default. If you update the theme or modify it in any way, you can delete the cache by running:

require('bluloco').clear_cache()

Lualine

Make sure your lualine settings are set to auto:

require('lualine').setup {
  options = {
    theme = 'auto'
  }
}

Performance comparison

Because the original theme uses lush, it is slower than the lua version, with caching enabled.

The performance is negligible, but I'm quite satified with the results, because caching got me headaches 🤯.

Variant Total time
mistweaverco/bluloco.nvim (uncached) 1.20ms
mistweaverco/bluloco.nvim (cached) 0.68ms
uloco/bluloco.nvim 3.62ms