mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 18:58:12 +00:00
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:
parent
088ca8b3f8
commit
59ae7cf162
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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.
|
||||
|
||||

|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue