We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e624273 commit 6033ca8Copy full SHA for 6033ca8
lua/wincent/commandt/init.lua
@@ -281,13 +281,13 @@ local options_spec = {
281
end,
282
}
283
284
--- Function that returns a copy of `options` with
285
--- `always_show_dot_files = true` and `never_show_dot_files = false`.
+-- Sets `always_show_dot_files = true` and `never_show_dot_files = false` in
+-- `options` and returns the mutated table (`options` is a copy, so we're free
286
+-- to mutate it).
287
local force_dot_files = function(options)
- return merge(options, {
288
- always_show_dot_files = true,
289
- never_show_dot_files = false,
290
- })
+ options.always_show_dot_files = true
+ options.never_show_dot_files = false
+ return options
291
end
292
293
local default_options = {
0 commit comments