From f2bce678894de4a5191015b77f865c64d87464c5 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Sun, 20 Jun 2021 19:03:07 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=8D=EF=B8=8F=20Changelogs=20&=20Minimal?= =?UTF-8?q?=20config=20example?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 17 +++++++++++------ Makefile | 2 +- README.md | 38 ++++++++++++++++++++++++++++---------- 3 files changed, 40 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b62492..e0a23a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,16 +9,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- `Linting` Github Action init -- `Makefile, .lua-format, .luacheckrc` init -- format .lua code with (lua-format)[https://github.com/Koihik/LuaFormatter] -- `kitty` tabs color changed -- onedark setting using `reqiure("onedark.config")` [monsonjeremy/onedark.nvim#5] +- **Warning** on `vim.g` configuration +- Configure plugin in lua using `require('onedark').setup({})` **[fix monsonjeremy/onedark.nvim#5]** +- Minimal config example added inside [README.md#minimal](./README.md#minimal) +- Linting Github Action init +- Format .lua code with [lua-format](https://github.com/Koihik/LuaFormatter) +- **kitty tab** colors are changed +- Init: `Makefile, .lua-format, .luacheckrc` ### Changed +- Removed function `require('onedark').colorscheme()` +- Colorscheme **autoload removed** from `colors/onedark.vim` - **VertSplit** & **Inactive StatusLine** `fg` color changed to `bg_visual` -- configuration docs updated inside README.md +- StatusLine bug note inside [README.md#usage](./README.md#-usage) +- Configuration docs updated inside [README.md#configuration](./README.md#-configuration) ## [v0.0.1] - 14 June 2021 diff --git a/Makefile b/Makefile index ee9b057..c2a192a 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,6 @@ format: @for file in `find . -name '*.lua'`;do lua-format $$file -i; done; lint: $(onedark_path) - @luacheck $(onedark_path) --config .luacheckrc + @luacheck $(onedark_path) check: format lint diff --git a/README.md b/README.md index 7d75dac..44271ac 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,19 @@ +
-
+
+
+ Atom's iconic One Dark theme for Neovim, written in Lua
- Atom's iconic One Dark theme for Neovim, written in Lua -
- -- De-attach fork of monsonjeremy/onedark.nvim + + + + + + +
## ✨ Features @@ -151,7 +157,7 @@ set -as terminal-overrides ',*:Setulc=\E[58::2::%p1%{65536}%/%d::%p1%{256}%/%{25 ## 🌈 Extras -> To generate the configs `:luafile /lua/onedark/extra/init.lua` +> To generate the configs `make extra` Extra color configs for **Kitty**, and **Alacritty** can be found in [extras](extras/). To use them, refer to their respective documentation. @@ -205,6 +211,21 @@ require("onedark").setup({ +### Minimal + +```lua +require("onedark").setup({ + hideInactiveStatusline = true, + darkSidebar = false, + darkFloat = false + -- ... your onedark config +}) +``` + ++ +
+ ### Telescope
@@ -218,8 +239,6 @@ require("onedark").setup({
- [Wallpaper](https://hdqwalls.com/big-sur-4k-wallpaper)
- [dotfiles](https://github.com/ful1e5/dotfiles)
-
-
## Support
@@ -231,7 +250,6 @@ require("onedark").setup({
Follow me on **[Twitter](https://twitter.com/ful1e5)**
-
(◣_◢)