docs(readme, lazygit): fix typos (#16)

## Description

<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->
Fixes minor typos in documentation.

## Related Issue(s)

<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

<!-- Add screenshots of the changes if applicable. -->
This commit is contained in:
Teppei Taguchi 2024-11-07 21:50:13 +09:00 committed by GitHub
parent 088ca8b3f8
commit 59ae7cf162
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ Install the plugin with your package manager:
> Check the [code](https://github.com/folke/snacks.nvim/blob/main/lua/snacks/init.lua) to see what it does.
> [!tip]
> If you don't need these plugins, you can disable them, or skip `setup` alltogether.
> If you don't need these plugins, you can disable them, or skip `setup` altogether.
```lua
{

View file

@ -1,6 +1,6 @@
# 🍿 lazygit
Autmatically configures lazygit with a theme generated based on your Neovim colorscheme
Automatically configures lazygit with a theme generated based on your Neovim colorscheme
and integrate edit with the current neovim instance.
![image](https://github.com/user-attachments/assets/5e5ca232-af65-4ebc-b0ca-02bc9c33d23d)

View file

@ -467,7 +467,7 @@ function M:win_opts()
opts[k] = self.opts[k]
end
local parent = self:parent_size()
-- Spcial case for 0, which means 100%
-- Special case for 0, which means 100%
opts.height = opts.height == 0 and parent.height or opts.height
opts.width = opts.width == 0 and parent.width or opts.width
opts.height = math.floor(opts.height < 1 and parent.height * opts.height or opts.height)