Timeline for How to predefine functions in syntax file?
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 13, 2023 at 12:50 | vote | accept | Andy A. | ||
Feb 13, 2023 at 12:06 | answer | added | romainl | timeline score: 3 | |
Feb 13, 2023 at 11:32 | comment | added | Vivian De Smedt | I don't think it is possible in VimScript. In general I believe it is only possible in compiled language where you have a linker (e.g. it is not possible in Python) | |
Feb 13, 2023 at 11:09 | comment | added | Andy A. | @Friedrich - This would work at moment. But there should come some more functions so that the syntax file may become unclear. | |
Feb 13, 2023 at 11:05 | comment | added | Friedrich | I don't think I understand the question. What keeps you from calling the function at the bottom of the file, where it's defined? Is there some cyclic dependency that I don't get? | |
Feb 13, 2023 at 10:33 | history | asked | Andy A. | CC BY-SA 4.0 |