Skip to content

Commit 8169b0a

Browse files
committed
feat: #128, add typings for hlchunk.setup()
1 parent 71bf751 commit 8169b0a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lua/hlchunk/init.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
local hlchunk = {}
22

3+
---@class HlChunk.UserConf
4+
---@field blank? HlChunk.UserBlankConf
5+
---@field chunk? HlChunk.UserChunkConf
6+
---@field indent? HlChunk.UserIndentConf
7+
---@field line_num? HlChunk.UserLineNumConf
8+
9+
---@param userConf HlChunk.UserConf
310
hlchunk.setup = function(userConf)
411
for mod_name, mod_conf in pairs(userConf) do
512
if mod_conf.enable then

0 commit comments

Comments
 (0)