From 9d013a3529a6882f4e652e9e3fa7b09b96e00f42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dundar=20G=C3=B6c?= Date: Mon, 3 Jan 2022 22:28:09 +0100 Subject: [PATCH] chore: fix typos --- .github/CONTRIBUTING.md | 2 +- .github/README.md | 4 ++-- lua/colors/init.lua | 2 +- lua/core/utils.lua | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index a70fc6a..12d436d 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -45,7 +45,7 @@ If you wish to contribute to NvChad, you should: - PR's are always welcomed however NvChad aims to be less bloated. So PR's regarding existing plugin's enhancement and creating new features with existing plugins itself ( without adding a new plugin), bug fixes and corrections are more encouraged. -- NvChad wont keep adding more and more features (like adding new plugins most likely) as requested if they feel unneeded and arent usable by the majority!! If you think the plugin you want to be added is very useful and many NvChaders would find it useful, then such feature's PR is welcomed! +- NvChad won't keep adding more and more features (like adding new plugins most likely) as requested if they feel unneeded and aren't usable by the majority!! If you think the plugin you want to be added is very useful and many NvChaders would find it useful, then such feature's PR is welcomed! - But adding specific features like adding config for [wakatime](https://github.com/wakatime/vim-wakatime) etc will be added in this [chad user configs](https://github.com/NvChad/NvChad/wiki/Chad-user-configs). This lets the user select the things only they want ( adding configs from extra configs ). diff --git a/.github/README.md b/.github/README.md index 23b3c94..413a093 100644 --- a/.github/README.md +++ b/.github/README.md @@ -109,7 +109,7 @@ Without/with Treesitter: ## Credits -- [Elianiva](https://github.com/elianiva) helped me with NeoVim Lua related issues many times, NvChad wouldnt exist without his help at all. +- [Elianiva](https://github.com/elianiva) helped me with NeoVim Lua related issues many times, NvChad wouldn't exist without his help at all. - @lorvethe for making the beautiful NvChad logo. ## Features @@ -170,7 +170,7 @@ If you have an issue with a plugin in NvChad, first you should report it to NvCh ## :gift_heart: Support -I would happily accept donations but would feel awful since I'm not the only one who has worked on NvChad. The project has only been made possible by the many great contributors and plugin developers, thus taking the donations just for me feels unjustified. If you enjoy using NvChad and would like to show your support then try to be a better you! Help the people in need whenever possible and do charity work. Be nice to loved ones and strangers alike. Do not be rude, always try to be helpful and caring for one another. It's easy to hate but hard to care. Be respectful to any software/work done by other people rather than making fun of them. Do not compare software (In a bad way). I'm grateful to even be able to use NeoVim! But I still cannot be fully happy when I know that there are people who barely have any food to eat, starve for weeks, dont have access to proper education, comupters, basic health care facilities and more. Here are some charites and gofundme links you can donate to instead: +I would happily accept donations but would feel awful since I'm not the only one who has worked on NvChad. The project has only been made possible by the many great contributors and plugin developers, thus taking the donations just for me feels unjustified. If you enjoy using NvChad and would like to show your support then try to be a better you! Help the people in need whenever possible and do charity work. Be nice to loved ones and strangers alike. Do not be rude, always try to be helpful and caring for one another. It's easy to hate but hard to care. Be respectful to any software/work done by other people rather than making fun of them. Do not compare software (In a bad way). I'm grateful to even be able to use NeoVim! But I still cannot be fully happy when I know that there are people who barely have any food to eat, starve for weeks, don't have access to proper education, computers, basic health care facilities and more. Here are some charities and gofundme links you can donate to instead: - https://www.gofundme.com/f/WeCareAboutSyria - https://www.gofundme.com/f/Burundi-Nutrition diff --git a/lua/colors/init.lua b/lua/colors/init.lua index 9630d75..8927251 100644 --- a/lua/colors/init.lua +++ b/lua/colors/init.lua @@ -22,7 +22,7 @@ M.init = function(theme) end end --- returns a table of colors for givem or current theme +-- returns a table of colors for given or current theme M.get = function(theme) if not theme then theme = vim.g.nvchad_theme diff --git a/lua/core/utils.lua b/lua/core/utils.lua index c1fcd3e..e795021 100644 --- a/lua/core/utils.lua +++ b/lua/core/utils.lua @@ -92,8 +92,8 @@ M.close_buffer = function(force) if type == "wind" then -- hide from bufferline vim.cmd(string.format("%d bufdo setlocal nobl", buf)) - -- swtich to another buff - -- TODO switch to next bufffer, this works too + -- switch to another buff + -- TODO switch to next buffer, this works too vim.cmd "BufferLineCycleNext" else local cur_win = vim.fn.winnr()