Skip to content

genzyy/embark-lua.nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

embark-lua.nvim

An ambitious Vim theme.

"Man cannot discover new oceans unless he has the courage to lose sight of the shore. - Andre Gide"

screenshot

About

This is a rewrite of original theme embark in lua, All credits for color palette and idea should goes to the author. Rewriting in lua brings better support for treesitter, lualine and other commonly used nvim plugins.

Getting Started

First install using your plugin manager. Rename package to embark using your plugin manager's built in facilities to do so.

lazy.nvim

return {
  "genzyy/embark-lua.nvim",
  name = "embark",
}

packer.nvim

use { 'genzyy/embark-lua.nvim', as = 'embark' }

vim-plug

Plug 'genzyy/embark-lua.nvim', { 'as': 'embark', 'branch': 'main' }

Then set embark as colorscheme.

Vimscript

colorscheme embark

Lua for neovim

vim.cmd('colorscheme embark')

For packer users the colorscheme can be placed in the config callback.

use {
  'genzyy/embark-lua.nvim',
  as = 'embark',
  config = function()
    vim.cmd('colorscheme embark')
  end
}

Lightline support

A lightline theme is also available. Just set your colorscheme to embark.

let g:lightline = {
      \ 'colorscheme': 'embark',
      \ }

Airline support

Airline should just pick up on theme automatically, but if there is an issue with this it can be set manually. let g:airline_theme = 'embark'

Lualine support

Lualine should pick up the theme with the auto setting, or you can set it manually.

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

User configuration

  config = function()
    require("embark").setup({
      styles = {
        keywords = { italic = true, bold = true }, -- default
        comments = { italic = true, bold = false }, -- default
      },
    })
  end

Todo

  • user configuration.
  • support for other nvim plugins.
  • light variant.

About

Lua rewrite for embark theme

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 65.9%
  • Vim Script 34.1%