@@ -46,6 +46,7 @@ local last_key = ""
46
46
function _G .add_to_line_end ()
47
47
change_line_ends (last_key , false )
48
48
end
49
+ -- selene: allow(global_usage)
49
50
function _G .remove_from_line_end ()
50
51
change_line_ends (last_key , true )
51
52
end
@@ -70,6 +71,7 @@ end --}}}
70
71
function _G .empty_line_below ()
71
72
insert_empty_lines (vim .v .count , 0 )
72
73
end
74
+ -- selene: allow(global_usage)
73
75
function _G .empty_line_above ()
74
76
insert_empty_lines (vim .v .count , - 1 )
75
77
end
@@ -170,9 +172,8 @@ local function augment_vim(opts)
170
172
end
171
173
end
172
174
173
-
174
- -- stylua: ignore start
175
175
local function config (opts ) -- {{{
176
+ -- stylua: ignore
176
177
vim .validate ({
177
178
space = { opts .space , { " table" , " boolean" , " nil" }, true },
178
179
ending = { opts .ending , { " table" , " boolean" , " nil" }, true },
@@ -195,11 +196,10 @@ local function config(opts) --{{{
195
196
if opts .augment_vim then -- {{{
196
197
augment_vim (opts .augment_vim )
197
198
end -- }}}
198
-
199
199
end -- }}}
200
- -- stylua: ignore end
201
200
202
201
return {
202
+ setup = config ,
203
203
config = config ,
204
204
}
205
205
0 commit comments