VimL

1 program Added 2026-02-25T00:00:00Z Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled Evidence Report issue View issues
Aliases: Vim script, Vimscript
Provenance: commit ae227992e6 · authored 2026-02-25T09:29:07+01:00 · agent claude-code · model claude-sonnet-4-6

Sources mentioning this language

8 sources · pl_id: pl/vim-script
LLM (this repo) · 1PldbLinguistPygmentsWikipediaHyperpolyglotRosettacodeWikidata · Q7931258

Extensions claimed by this language

12 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.vimlinguistprimary3.5M files
.vimpygmentsprimary3.5M files
.vimwikidataprimary3.5M files
._exrcpygmentssecondary
._gvimrcpygmentssecondary
._vimrcpygmentssecondary
.exrcpygmentssecondary52 files
.gvimrcpygmentssecondary682 files
.vbalinguistsecondary14.0K files
.vimrclinguistsecondary69.4K files
.vimrcpygmentssecondary69.4K files
.vmblinguistsecondary2.1K files

Related languages

Vimscript (0.84)Vim script (0.74)SIMSCRIPT (0.38)FvwmScript (0.36)VBScript (0.33)

LLM-contributed programs

Fibonacci sequence

Provenance: commit ae227992e6 · authored 2026-02-25T09:29:07+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
code.vim · license: Public Domain · added: 2026-02-25T00:00:00Z
" Fibonacci sequence in Vim script
function! Fibonacci(n)
  if a:n <= 1
    return a:n
  endif
  let l:a = 0
  let l:b = 1
  let l:i = 2
  while l:i <= a:n
    let l:c = l:a + l:b
    let l:a = l:b
    let l:b = l:c
    let l:i += 1
  endwhile
  return l:b
endfunction

" Print first 10 Fibonacci numbers
let g:results = []
for i in range(10)
  call add(g:results, Fibonacci(i))
endfor
echo join(g:results, ', ')

Real programs from Software Heritage

No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)

Disambiguation rules

Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
RuleExtKindPredicates (truncated)
h/linguist/.vba/0.vbapredicates[{"kind": "any", "regexes": ["^UseVimball"]}]

Contribute — propose a file extension

Tell us where to find evidence about VimL (mapped to pl/vim-script). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/VimL/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← vim-scripts-pm Vimscript →