Skip to content

A clean 80's synthwave / outrun inspired theme written in Lua ported from the Visual Studio Code LaserWave theme.

License

Notifications You must be signed in to change notification settings

lettertwo/laserwave.nvim

 
 

Repository files navigation

laserwave.nvim

A clean 80's synthwave / outrun inspired theme written in Lua ported from the Visual Studio Code LaserWave theme.

Installation

Requirements

  • Neovim >= 0.10.0

Using lazy.nvim

{
  "lettertwo/laserwave.nvim",
  lazy = false,
  priority = 1000,
}

Using :h vim.pack

vim.pack.add("lettertwo/laserwave.nvim")

Usage

Try it out using the :Laserwave command:

:Laserwave original
:Laserwave hi_c

To use the theme by default, add the following line to your init.lua:

vim.cmd.colorscheme("laserwave")
# or the high contrast version
vim.cmd.colorscheme("laserwave-hi_c")

Lualine

require('lualine').setup {
  options = {
    -- ... your lualine config
    theme = 'laserwave'
    -- ... your lualine config
  }
}

Configuration

Setup is completely optional. If you want to change them, be sure to call laserwave.setup({}) before loading the theme.

Here are the default settings:

require("laserwave").setup({
  -- possible modes: "lsp" (semantic highlights) | "treesitter" (no semantic highlights) | "vim" (builtins only)
  syntax_mode = "lsp"
  transparent = false,
  terminal_colors = true,
  italic_comments = true,
  italic_keywords = true,
  italic_functions = false,
  italic_variables = false,
  plugins = {
    blink = true,
    cmp = false,
    git = true,
    mini_pick = true,
    neotree = false,
    obsidian = true,
    occurrence = true,
    package_info = false,
    snacks = true,
    space = true,
    telescope = true,
  },
})

Extras

Laserwave themes for other applications are bundled in dist

License

MIT License. See LICENSE for details.

Contributing

Contributions are welcome! See CONTRIBUTING for details.

About

A clean 80's synthwave / outrun inspired theme written in Lua ported from the Visual Studio Code LaserWave theme.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Languages

  • Lua 93.9%
  • Shell 4.3%
  • Makefile 1.7%
  • Tree-sitter Query 0.1%