Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
genzyy committed Jan 12, 2024
1 parent 0e1ae17 commit 0308efd
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 0 deletions.
Binary file modified .DS_Store
Binary file not shown.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 embark-theme

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
99 changes: 99 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<div align=center>
<h1>embark-lua.nvim</h1>
</div>

<p align="center"><strong>An ambitious Vim theme.</strong></p>

<p align="center"><em>"Man cannot discover new oceans unless he has the courage to lose sight of the shore. - Andre Gide"</em></p>

<div align=center>
<img src="./assets/screenshot.png" alt="screenshot" />
</div>

## About

This is a rewrite of original theme [embark](https://github.com/embark-theme/vim) 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

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

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

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

Then set embark as colorscheme.

Vimscript

```vim
colorscheme embark
```

Lua for neovim

```lua
vim.cmd('colorscheme embark')
```

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

```lua
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.

```vim
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.

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


### Todo

- [ ] user configuration.
- [ ] support for other nvim plugins.
- [ ] light variant.
Binary file added assets/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0308efd

Please sign in to comment.