You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@luke-gru Is there a way to create riml function equivalent to Vim's uppercased function. I'm not sure there is a scope name for it. Basically the equivalent of the following function,
function!MyFunction()
endfunction
The generated code if I try to compile this with riml has the default scope specifier like s:MyFunction.
I was doing some preliminary work on a Syntastic plugin for riml. The Syntastic api relies on these type of functions which appear to work like global scoped functions.
Hey, there is actually :) You can use the n: scope modifier, and this will leave off the scope modifier in the compiled output. This works for all constructs that take a scope modifier (functions, variables of all kinds).
@luke-gru Is there a way to create
riml
function equivalent to Vim's uppercased function. I'm not sure there is a scope name for it. Basically the equivalent of the following function,The generated code if I try to compile this with
riml
has the default scope specifier likes:MyFunction
.I was doing some preliminary work on a Syntastic plugin for riml. The Syntastic api relies on these type of functions which appear to work like global scoped functions.
They are used like callbacks by Syntastic. Is there a way of writing this without resorting to a
:function
workaround?Thanks.
The text was updated successfully, but these errors were encountered: