From 71650828276c5bf85fc7ce49f6e85e2246a8ad72 Mon Sep 17 00:00:00 2001 From: Caleb Allen Date: Thu, 18 Jul 2024 15:03:54 +0100 Subject: [PATCH] Remove clipboard warning (#102) A warning is displayed when the option is enabled, so displaying a warning on every startup is unnecessary. --- src/config.jl | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/config.jl b/src/config.jl index 2c314bf..da4bd64 100644 --- a/src/config.jl +++ b/src/config.jl @@ -7,28 +7,6 @@ using Preferences import ..VimBindings as VB -function __init__() - if system_clipboard() - println(stdout) - @warn """System clipboard integration is enabled for VimBindings.jl. - - The commands `y`, `p` and `P` are enabled for the system clipboard. - Note that registers are not implemented. - - The feature is not well tested; - Feel free to share your experience with the feature on this github issue - https://github.com/caleb-allen/VimBindings.jl/issues/7 - Remember to include information about your setup. - - Disable the feature by running - \t VimBindings.Config.system_clipboard!(false) - - - """ - - end -end - # idea taken from PreferenceTools.jl function _in_global_env(f) # imported at runtime, after REPL is instantiated