Merge pull request #52 from horriblename/main

Update tokyonight config
This commit is contained in:
NotAShelf 2023-04-18 20:25:35 +03:00 committed by GitHub
commit 7bf6594755
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -15,3 +15,5 @@
* Improved handling of completion formatting. When setting <<opt-vim.autocomplete.sources>>, can also include optional menu mapping. And can provide your own function with <<opt-vim.autocomplete.formatting.format>>. * Improved handling of completion formatting. When setting <<opt-vim.autocomplete.sources>>, can also include optional menu mapping. And can provide your own function with <<opt-vim.autocomplete.formatting.format>>.
* For <<opt-vim.visuals.indentBlankline.fillChar>> and <<opt-vim.visuals.indentBlankline.eolChar>> turning them off should use `null` rather than `""` now. * For <<opt-vim.visuals.indentBlankline.fillChar>> and <<opt-vim.visuals.indentBlankline.eolChar>> turning them off should use `null` rather than `""` now.
* Fixed deprecated configuration method for Tokyonight, and added new style "moon"

View file

@ -12,11 +12,9 @@
tokyonight = { tokyonight = {
setup = {style ? "night"}: '' setup = {style ? "night"}: ''
-- need to set style before colorscheme to apply vim.cmd[[colorscheme tokyonight-${style}]]
vim.g.tokyonight_style = '${style}'
vim.cmd[[colorscheme tokyonight]]
''; '';
styles = ["day" "night" "storm"]; styles = ["day" "night" "storm" "moon"];
}; };
dracula = { dracula = {