Vim script

1 program Added 2025-10-22T15:14:43Z Model: google/gemini-2.5-flashTemp: 0.4 Evidence Report issue View issues
Aliases: VimL
Provenance: commit 80493e4f86 · authored 2025-10-22T17:14:43+02:00 · model google/gemini-2.5-flash

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.88)VimL (0.74)SCRIPT (0.32)Scriptol (0.32)VBScript (0.32)

LLM-contributed programs

Simple Vim plugin to toggle whitespace visibility

Provenance: commit 80493e4f86 · authored 2025-10-22T17:14:43+02:00 · model google/gemini-2.5-flash · Temp 0.4
code.vim · license: Vim License · added: 2025-10-22T15:14:43Z
if exists("g:loaded_whitespace") || &cp
  finish
endif
let g:loaded_whitespace = 1

command! -nargs=0 WhitespaceToggle call whitespace#toggle()

function! whitespace#toggle()
  if exists("b:whitespace_on") && b:whitespace_on
    let b:whitespace_on = 0
    setlocal nolist
    echo "Whitespace off"
  else
    let b:whitespace_on = 1
    setlocal list
    setlocal listchars=tab:»·,trail:·,eol:¬,nbsp:·
    echo "Whitespace on"
  endif
endfunction

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 Vim script (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/Vim script/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Vim Help File Vim Snippet →