Closed Gabirel closed 4 years ago
I have tested it, it works well for me, here is my config:
[[custom_plugins]]
name = 'machakann/vim-highlightedyank'
merged = false
you should check following:
:au highlightedyank
, it should print:--- Autocommands ---
highlightedyank TextYankPost
* call highlightedyank#debounce()
Expected behavior, english is recommend
Yank highlight should at least work. Obviously, it doesn't work for the lastest SpaceVim.
Environment Information
The reproduce ways from Vim starting (Required!)
My full init.vim
Output of the
:SPDebugInfo!
SpaceVim debug information
### SpaceVim options : ```toml auto_disable_touchpad = 1 autocomplete_method = 'coc' autocomplete_parens = 1 buffer_index_type = 4 checkinstall = 1 colorscheme = 'molokai' colorscheme_bg = 'dark' colorscheme_default = 'desert' commandline_prompt = '➭' custom_color_palette = [] custom_plugins = [['rdnetto/YCM-Generator'], ['machakann/vim-highlightedyank']] data_dir = '/Users/gabriel/.cache/' debug_level = 1 default_indent = 4 disabled_plugins = [] enable_ale = 1 enable_bepo_layout = 0 enable_cursorcolumn = 0 enable_cursorline = 1 enable_debug = 0 enable_googlesuggest = 0 enable_guicolors = 0 enable_insert_leader = 1 enable_javacomplete2_py = 0 enable_key_frequency = 0 enable_language_specific_leader = 1 enable_neocomplcache = 0 enable_neomake = 0 enable_os_fileformat_icon = 0 enable_powerline_fonts = 1 enable_statusline_bfpath = 0 enable_statusline_mode = 1 enable_statusline_tag = 1 enable_tabline_ft_icon = 0 enable_vimfiler_filetypeicon = 0 enable_vimfiler_gitstatus = 0 enable_vimfiler_welcome = 1 enable_ycm = 0 error_symbol = '✗' expand_tab = 1 filemanager = 'vimfiler' filetree_direction = 'left' filetype_icons = {} force_global_config = 0 gitcommit_issue_icon = '' gitcommit_pr_icon = '' github_username = '' guifont = '' hiddenfileinfo = 1 home_files_number = 6 hosts_url = 'https://raw.githubusercontent.com/racaljk/hosts/master/hosts' info_symbol = 'i' keep_server_alive = 1 language = '' leader_guide_default_group_name = '' leader_guide_flatten = 1 leader_guide_hspace = 5 leader_guide_max_size = 0 leader_guide_position = 'botright' leader_guide_run_map_on_popup = 1 leader_guide_sort_horizontal = 0 leader_guide_submode_mappings = {'Screenshots
Here's what happens after I yank the whole line.
If I use a bare vimrc, like below. It works perfectly.
Colorscheme doesn't affect this behavior as well (I've tested that already.)
PS: Before I use the latest version of SpaceVim, that custom plugin works like a charm. I am pretty sure something has changed in SpaceVim, which makes it behave abnormally.