Lines Matching refs:script

6 It explores ways of making Vim script faster and better.
8 WARNING: The Vim9 script features are still under development, anything can
16 properties, is faster Vim script. So how do we do that?
52 we can gain, and also that Vim script can be faster than builtin
55 LuaJit is much faster at Lua-only instructions. In practice the script would
77 The differences are smaller, but Vim 9 script is clearly the fastest.
81 How does Vim9 script work? The function is first compiled into a sequence of
92 Attempts have been made to implement functionality with built-in script
96 Instead of using script language support in Vim:
104 * Improve the Vim script language, it is used to communicate with the external
139 backwards compatible anyway, we can also make Vim script easier to use.
146 Taking this one step further is also dropping "s:" for script-local variables;
147 everything at the script level is script-local by default. Since this is not
148 backwards compatible it requires a new script style: Vim9 script!
151 same as in Vim9 script. Thus you have legacy syntax and Vim9 syntax.
154 script. We can add functionality to make this easier. This still needs
159 we actually want to include in Vim script. Ideally a conversion tool
161 script, with only some things that cannot be converted.
163 Vim script won't work the same as any specific language, but we can use
189 * In the sourced script, is not clear what it provides. By default all
191 * In a script that sources other scripts, it is not clear what function comes
192 from what sourced script. Finding the implementation is a hassle.
193 * Prevention of loading the whole script twice must be manually implemented.
196 make this much better. For example, in script "myfunction.vim" define a
200 vim9script " Vim9 script syntax used here
202 var local = 'local variable is not exported, script-local'
207 def LocalFunction() " not exported, script-local
211 And in another script import the function:
214 vim9script " Vim9 script syntax used here