Re: [vim/vim] Make popup behave like a normal window (#5639)

2020-12-24 Fir de Conversatie ma...@prabir.me
@Bram wondering if there has been any more thoughts on focusable popup windows? Wouldn't a focusable flag and support for win_gotoid(windid) be enough? On Tuesday, October 6, 2020 at 11:29:13 AM UTC-7 ma...@prabir.me wrote: > Here are the different phases I think we need to have bas

Re: [vim/vim] Make popup behave like a normal window (#5639)

2020-10-06 Fir de Conversatie ma...@prabir.me
Here are the different phases I think we need to have based on my priority. 1. Focus (useful for fuzzy finders as well as peeking into docs/diagnostics error that are long or big) a. "focusable" flag b. win_gotoid(winid) to move focus to popup 2. All insert mode for popup (useful for fuzzy finde

Re: [vim/vim] Add the matchfuzzy() function (#6932)

2020-10-05 Fir de Conversatie ma...@prabir.me
If you are porting might be good to look into comparing and porting other libraries. Would be also good to trying in real big projects such as chromium. https://github.com/wincent/command-t - C (actual search algorithm is in C) https://github.com/jhawthorn/fzy - C https://github.com/lotabout/s

Re: [vim/vim] Make popup behave like a normal window (#5639)

2020-10-05 Fir de Conversatie ma...@prabir.me
>From a plugin author there are only two features I would need i.e. allow to pass an option for popup for focusable: true/false when creating popup and capability to focus on the popup or move focus to another buffer/win. Neovim has a win_gotoid() to focus to popup which avoids creating a new ap

Re: Vim9: rethinking conditions and boolean expressions

2020-10-04 Fir de Conversatie ma...@prabir.me
In javascript you can use !! operator to always convert it to boolean. var name = '' var nameExists = !!(name || 'Prabir') On Saturday, October 3, 2020 at 12:25:21 PM UTC-7 Andy Wokula wrote: > Am 03.10.2020 um 17:44 schrieb Bram Moolenaar: > > Therefore, I'm going to make && and || have a boole