Timeline for How to specify the 'command' argument of win_execute() function in vim9script?
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 21 at 5:33 | comment | added | Vivian De Smedt♦ | I believe it is indeed not possible. My understanding is that the local variable are somehow "compiled" and not accessible to other script. MaxKim has open an issue based on your question he knows quite well vim9script. I doubt there is a better answer as of now :-/ | |
| Jun 21 at 2:47 | comment | added | Rick Howe | Thank you. It works fine using a interpolated string. Instead of g: variable, is it possible to share a script local variable between functions? Maybe ':help vim9-scopes' says NO. | |
| Jun 20 at 13:19 | comment | added | Vivian De Smedt♦ | @romainl thanks for the suggestion. I have expanded the answer accordingly. | |
| Jun 20 at 13:18 | history | edited | Vivian De Smedt♦ | CC BY-SA 4.0 | added 293 characters in body |
| Jun 20 at 12:04 | comment | added | romainl | This answer is missing a link to the doc for $''. | |
| Jun 20 at 10:35 | history | edited | Vivian De Smedt♦ | CC BY-SA 4.0 | deleted 12 characters in body |
| Jun 20 at 10:27 | history | edited | Vivian De Smedt♦ | CC BY-SA 4.0 | deleted 11 characters in body |
| Jun 20 at 10:20 | history | undeleted | Vivian De Smedt♦ | ||
| Jun 20 at 10:20 | history | edited | Vivian De Smedt♦ | CC BY-SA 4.0 | added 75 characters in body |
| Jun 20 at 10:07 | history | deleted | Vivian De Smedt♦ | via Vote | |
| Jun 20 at 10:04 | history | answered | Vivian De Smedt♦ | CC BY-SA 4.0 |