Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ii14/onedark.nvim
lua port of joshdick/onedark.vim
https://github.com/ii14/onedark.nvim
colorscheme lua neovim nvim
Last synced: about 4 hours ago
JSON representation
lua port of joshdick/onedark.vim
- Host: GitHub
- URL: https://github.com/ii14/onedark.nvim
- Owner: ii14
- License: mit
- Created: 2021-05-10T20:26:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-23T23:49:58.000Z (about 1 year ago)
- Last Synced: 2023-10-24T00:32:31.812Z (about 1 year ago)
- Topics: colorscheme, lua, neovim, nvim
- Language: Lua
- Homepage:
- Size: 10.7 KB
- Stars: 10
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# onedark.nvim
The brief story is that I was investigating my startup performance and aside from my
vimrc, [joshdick/onedark.vim](https://github.com/joshdick/onedark.vim) along with polyglot
turned out to be the biggest offender. Since compatibility with vim is not that important
for me, there is no good reason to spend so much time on initializing a color scheme and I
just rewrote the entire thing in lua to see if it helps. And it did helped, it's now about
3 times faster.If it wasn't obvious from the plugin name and the mention of lua, it requires neovim and
probably at least version 0.5.0. Options `g:onedark_color_overrides`,
`g:onedark_termcolors`, `g:onedark_hide_endofbuffer` and `g:onedark_terminal_italics` are
all ported. I didn't bother to port functions, like `onedark#extend_highlight` etc. Works
with lightline, but I haven't tested it with airline.```vim
if has('nvim-0.5.0')
Plug 'ii14/onedark.nvim'
else
Plug 'joshdick/onedark.vim'
endif
```All the credits goes to the author of the original plugin,
[joshdick/onedark.vim](https://github.com/joshdick/onedark.vim).