Skip to content

Commit

Permalink
docs: fix random typos
Browse files Browse the repository at this point in the history
  • Loading branch information
nullchilly committed Jun 24, 2023
1 parent 8aa9e2b commit 00d313d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ require("catppuccin").setup {
}
```

**Note**: For more informations check out our [style-guide](https://github.com/catppuccin/catppuccin/blob/main/docs/style-guide.md)
**Note**: For more information check out our [style-guide](https://github.com/catppuccin/catppuccin/blob/main/docs/style-guide.md)

## Overwriting highlight groups

Expand Down
6 changes: 3 additions & 3 deletions lua/catppuccin/groups/integrations/feline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function M.get()
hl = vi_mode_hl,
}

-- there is a dilema: we need to hide Diffs if ther is no git info. We can do that, but this will
-- there is a dilemma: we need to hide Diffs if there is no git info. We can do that, but this will
-- leave the right_separator colored with purple, and since we can't change the color conditonally
-- then the solution is to create two right_separators: one with a mauve sett.bkg and the other one normal
-- sett.bkg; both have the same fg (vi mode). The mauve one appears if there is git info, else the one with
Expand Down Expand Up @@ -224,7 +224,7 @@ function M.get()

-- Extras ------>

-- file progess
-- file progress
components.active[1][10] = {
provider = function()
local current_line = vim.fn.line "."
Expand Down Expand Up @@ -329,7 +329,7 @@ function M.get()
},
}

-- genral diagnostics (errors, warnings. info and hints)
-- general diagnostics (errors, warnings. info and hints)
components.active[2][2] = {
provider = "diagnostic_errors",
enabled = function() return lsp.diagnostics_exist(vim.diagnostic.severity.ERROR) end,
Expand Down
2 changes: 1 addition & 1 deletion lua/catppuccin/groups/integrations/native_lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function M.get()
LspReferenceText = { bg = C.surface1 }, -- used for highlighting "text" references
LspReferenceRead = { bg = C.surface1 }, -- used for highlighting "read" references
LspReferenceWrite = { bg = C.surface1 }, -- used for highlighting "write" references
-- hightlight diagnostics in numberline
-- highlight diagnostics in numberline

DiagnosticVirtualTextError = {
bg = O.transparent_background and C.none or U.darken(error, darkening_percentage, C.base),
Expand Down
2 changes: 1 addition & 1 deletion lua/catppuccin/groups/integrations/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ If you want to stay on nvim 0.7, either disable the integration or pin catppucci
-- Punctuation
["@punctuation.delimiter"] = { fg = C.overlay2 }, -- For delimiters ie: .
["@punctuation.bracket"] = { fg = C.overlay2 }, -- For brackets and parenthesis.
["@punctuation.special"] = { fg = C.sky, style = O.styles.operators or {} }, -- For special punctutation that does not fall in the catagories before.
["@punctuation.special"] = { fg = C.sky, style = O.styles.operators or {} }, -- For special punctutation that does not fall in the categories before.

-- Literals
["@string"] = { link = "String" }, -- For strings.
Expand Down
2 changes: 1 addition & 1 deletion lua/catppuccin/lib/vim/bit.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ lshift = function(a, disp) -- Lua5.2 inspired
return (a * 2 ^ disp) % 2 ^ 32
end

rshift = function(a, disp) -- Lua5.2 insipred
rshift = function(a, disp) -- Lua5.2 inspired
if disp < 0 then return lshift(a, -disp) end
return floor(a % 2 ^ 32 / 2 ^ disp)
end
Expand Down

0 comments on commit 00d313d

Please sign in to comment.