From 6fbfee29b9d852e67129d70502c36a1e2b1bf24a Mon Sep 17 00:00:00 2001 From: Matt Leong Date: Sun, 21 Nov 2021 18:34:28 -0800 Subject: [PATCH] feat: tiny clean up --- lua/cosmic/config/init.lua | 1 - lua/cosmic/utils.lua | 2 +- readme.md | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lua/cosmic/config/init.lua b/lua/cosmic/config/init.lua index 5189566..011a521 100644 --- a/lua/cosmic/config/init.lua +++ b/lua/cosmic/config/init.lua @@ -7,7 +7,6 @@ end -- these settings will be merged with any settings definined in config.lua local default_config = { - -- theme = 'catppuccin', theme = 'tokyonight', lsp = { format_on_save = true, -- true/false or table of filetypes {'.ts', '.js',} diff --git a/lua/cosmic/utils.lua b/lua/cosmic/utils.lua index c36c47b..47648d7 100644 --- a/lua/cosmic/utils.lua +++ b/lua/cosmic/utils.lua @@ -39,7 +39,7 @@ end function M.get_active_lsp_client_names() local active_clients = vim.lsp.get_active_clients() local client_names = {} - for i, client in pairs(active_clients or {}) do + for _, client in pairs(active_clients or {}) do local buf = vim.api.nvim_get_current_buf() -- only return attached buffers if vim.lsp.buf_is_attached(buf, client.id) then diff --git a/readme.md b/readme.md index c92f79e..cfa6a26 100644 --- a/readme.md +++ b/readme.md @@ -81,6 +81,8 @@ CosmicNvim comes with first-class support for the following themes: - [Tokyonight](https://github.com/folke/tokyonight.nvim) - [Nightfox](https://github.com/EdenEast/nightfox.nvim) +[Additional Screenshots](https://github.com/mattleong/CosmicNvim/wiki/Theme-Screenshots) + ## Configuration [Cosmic configurations](./lua/cosmic/config/examples/config.lua)