Thursday, December 3, 2020

Re: Vim9 dict key notation old fashion depreciated

This,  as a bypass, seems to work:

g:fzf_colors = { fg:  ['fg', 'Normal'], 
               \ bg:  ["bg", "Normal"],
               \ hl:  ["fg", "IncSearch"],
               \ info:    ["fg", "IncSearch"],
               \ border:  ["fg", "Ignore"],
               \ prompt:  ["fg", "Comment"],
               \ pointer: ["fg", "IncSearch"],
               \ marker:  ["fg", "IncSearch"],
               \ spinner: ["fg", "IncSearch"],
               \ header:  ["fg", "WildMenu"] }
g:fzf_colors['fg+'] = ["fg", "CursorLine", "CursorColumn", "Normal"]
g:fzf_colors['bg+'] = ["bg", "CursorLine", "CursorColumn"]
g:fzf_colors['hl+'] = ["fg", "IncSearch"]


Le jeudi 3 décembre 2020 à 09:58:17 UTC+1, Ni Va a écrit :
Hi,


Since Vim.8.2.2082, it appears that this notation of dict' keys used for example in FZF plugin is depreciated. 

g:fzf_colors = { fg:  ['fg', 'Normal'], 
               \ bg:  ["bg", "Normal"],
               \ hl:  ["fg", "IncSearch"],
               \ fg+: ["fg", "CursorLine", "CursorColumn", "Normal"],

Could you confirm or just tell how to solve this ?

Thank you.
NiVa  

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/e7c12f6b-5575-49b5-800b-040cc9d10580n%40googlegroups.com.

No comments:

Post a Comment