Skip to content

Commit

Permalink
feat(feline): disable lazy.nvim updates module by default
Browse files Browse the repository at this point in the history
docs(feline): document settings for lazy.nvim updates module
  • Loading branch information
vollowx committed Jul 11, 2024
1 parent 99b7568 commit f7bc225
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,9 @@ ctp_feline.setup({
curr_file = clrs.maroon,
curr_dir = clrs.flamingo,
show_modified = false -- show if the file has been modified
show_lazy_updates = true -- show the count of updatable plugins from lazy.nvim
show_lazy_updates = false -- show the count of updatable plugins from lazy.nvim
-- need to set checker.enabled = true in lazy.nvim first
-- the icon is set in ui.icons.plugin in lazy.nvim
},
mode_colors = {
["n"] = { "NORMAL", clrs.lavender },
Expand Down
14 changes: 8 additions & 6 deletions doc/catppuccin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ options and settings.
-- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
},
})

-- setup must be called before loading
vim.cmd.colorscheme "catppuccin"
<
Expand Down Expand Up @@ -409,9 +409,9 @@ Update your Feline config to use the Catppuccin components:

>lua
local ctp_feline = require('catppuccin.groups.integrations.feline')

ctp_feline.setup()

require("feline").setup({
components = ctp_feline.get(),
})
Expand All @@ -426,7 +426,7 @@ Here are the defaults:
local clrs = require("catppuccin.palettes").get_palette()
local ctp_feline = require('catppuccin.groups.integrations.feline')
local U = require "catppuccin.utils.colors"

ctp_feline.setup({
assets = {
left_separator = "",
Expand Down Expand Up @@ -456,7 +456,9 @@ Here are the defaults:
curr_file = clrs.maroon,
curr_dir = clrs.flamingo,
show_modified = false -- show if the file has been modified
show_lazy_updates = true -- show the count of updatable plugins from lazy.nvim
show_lazy_updates = false -- show the count of updatable plugins from lazy.nvim
-- need to set checker.enabled = true in lazy.nvim first
-- the icon is set in ui.icons.plugin in lazy.nvim
},
mode_colors = {
["n"] = { "NORMAL", clrs.lavender },
Expand Down Expand Up @@ -659,7 +661,7 @@ Special ~

>lua
local sign = vim.fn.sign_define

sign("DapBreakpoint", { text = "●", texthl = "DapBreakpoint", linehl = "", numhl = ""})
sign("DapBreakpointCondition", { text = "●", texthl = "DapBreakpointCondition", linehl = "", numhl = ""})
sign("DapLogPoint", { text = "◆", texthl = "DapLogPoint", linehl = "", numhl = ""})
Expand Down
2 changes: 1 addition & 1 deletion lua/catppuccin/groups/integrations/feline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ local sett = {
curr_file = C.maroon,
curr_dir = C.flamingo,
show_modified = false,
show_lazy_updates = true,
show_lazy_updates = false,
}

if require("catppuccin").flavour == "latte" then
Expand Down

0 comments on commit f7bc225

Please sign in to comment.