adambard / adambard/learnxinyminutes-docs

[Vimscript/en] line continuation and calling user functions

Open
#3,844 6 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted work in progress
Dominant language
Markdown
Stars
12.3k
Forks
3.7k
Avg merge
13h 10m
Merged PRs (30d)
6

Description

As a 20+ years user of Vim, I was pleased to see a description of Vimscript AKA VimL included. However there are a couple of small items that need to be fixed. If HiPhish doesn't get to them, I'll see if I can get a PR ready. (It's been a while :))

Lines 45-46: "... pacing [sic] a backslash as the first non-whitespace ... "
Changing the obvious typo to "placing" improves the sentence, but it could be smoother. Perhaps "typing a backslash" or "writing a backslash". "placing" _does_ work, though.

Lines 491-492: The text states that one cannot call a user function directly. That's not true in an expression, say something like: `:let x = myFunction()`. True, `:myFunction()` isn't legal & requires `:call myFunction()`. (Maybe this is something Bram will "fix" in Vim9)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.