Skip to content

Commit 3c79603

Browse files
committed
fix: improve rooter docstring
1 parent 87a7fd8 commit 3c79603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/astrocore/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
---@class AstroCoreAutocmd: vim.api.keyset.create_autocmd
2121
---@field event string|string[] Event(s) that will trigger the handler
2222

23-
---@alias AstroCoreRooterSpec string|string[]|fun(bufnr: integer): (string|string[])
23+
---@alias AstroCoreRooterSpec string|string[]|fun(bufnr: integer): (string|string[]|nil)
2424

2525
---@class AstroCoreRooterIgnore
2626
---@field dirs string[]? a list of patterns that match directories to exclude from root detection

0 commit comments

Comments
 (0)