We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea04ee5 commit 92fe5d8Copy full SHA for 92fe5d8
lua/richclip/config.lua
@@ -5,7 +5,11 @@ CONFIG.with_defaults = function(options)
5
--- it automatically.
6
CONFIG.richclip_path = options.richclip_path or nil
7
--- Set g:clipboard to let richclip take over the clipboard.
8
- CONFIG.set_g_clipboard = options.set_g_clipboard or true
+ if options.set_g_clipboard == nil then
9
+ CONFIG.set_g_clipboard = true
10
+ else
11
+ CONFIG.set_g_clipboard = options.set_g_clipboard
12
+ end
13
--- To print debug logs
14
CONFIG.enable_debug = options.debug or false
15
end
0 commit comments