Skip to content

Commit

Permalink
Merge pull request #130 from arztareef/main
Browse files Browse the repository at this point in the history
fix: Correct the misspelled words in README.md and health.lua
  • Loading branch information
max397574 authored Nov 5, 2024
2 parents 0a80c24 + f0e2d59 commit 4af33c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions lua/care/health.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,17 @@ function Health.check()
vim.health.error(error)
end
end
vim.health.info("Aligments:")
local wrong_aligments = false
vim.health.info("Alignments:")
local wrong_alignments = false
for i, alignment in ipairs(require("care.config").options.ui.menu.alignments) do
if not vim.tbl_contains({ nil, "left", "right", "center" }, alignment) then
vim.health.error(
"Field number " .. i .. ' in the aligments table is an invalid aligment ("' .. alignment .. '")'
"Field number " .. i .. ' in the alignments table is an invalid alignment ("' .. alignment .. '")'
)
wrong_aligments = true
wrong_alignments = true
end
end
if not wrong_aligments then
if not wrong_alignments then
vim.health.info("All alignments are correct")
end
vim.health.info("")
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
# ✨ Features

- Fully configurable menu
- Api for keybindings and various utilities
- API for keybindings and various utilities
- [Different presets](https://max397574.github.io/care.nvim/presets) for the
menu
- [Components](https://max397574.github.io/care.nvim/preset_components) and
[utilities](https://max397574.github.io/care.nvim/preset_utils) for easy
configuration of menu
- Compability with nvim-cmp sources with
- Compatibility with nvim-cmp sources with
[care-cmp](https://github.com/max397574/care-cmp)
- Really fast performance (can draw thousands of items per keystroke without
problems)
Expand All @@ -27,7 +27,7 @@
# 🚀 Getting started

You can simply install care.nvim with your preferred plugin manager. There are
builtin sources for lsp and more comming soon.
builtin sources for lsp and more coming soon.

Care is initialized automatically and lazy-loaded internally so there is no need
for lazy-loading nor calling setup.
Expand Down

0 comments on commit 4af33c3

Please sign in to comment.