Skip to content

Commit

Permalink
feat(config)!: rename features.max_file to features.large_buf
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Feb 6, 2024
1 parent 4708247 commit e2df9f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ local opts = {
cmp = true, -- enable or disable cmp on start
highlighturl = true, -- enable or disable highlighting of urls on start
-- table for defining the size of the max file for all features, above these limits we disable features like treesitter.
max_file = { size = 1024 * 100, lines = 10000 },
large_buf = { size = 1024 * 100, lines = 10000 },
notifications = true, -- enable or disable notifications on start
},
-- Enable git integration for detached worktrees
Expand Down
8 changes: 4 additions & 4 deletions lua/astrocore/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@
---Example:
---
---```lua
---max_file = {
---large_buf = {
--- size = 1024 * 100,
--- lines = 10000
---},
---```
---@field max_file AstroCoreMaxFile?
---@field large_buf AstroCoreMaxFile?
---@field notifications boolean? enable or disable notifications on start (boolean; default = true)

---@class AstroCoreOpts
Expand Down Expand Up @@ -188,7 +188,7 @@
--- cmp = true,
--- highlighturl = true,
--- notiifcations = true,
--- max_file = { size = 1024 * 100, lines = 10000 },
--- large_buf = { size = 1024 * 100, lines = 10000 },
---}
---```
---@field features AstroCoreFeatureOpts?
Expand Down Expand Up @@ -245,7 +245,7 @@ local M = {
autopairs = true,
cmp = true,
highlighturl = true,
max_file = { size = 1024 * 100, lines = 10000 },
large_buf = { size = 1024 * 100, lines = 10000 },
notifications = true,
},
git_worktrees = nil,
Expand Down

0 comments on commit e2df9f0

Please sign in to comment.