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-scriptExtensions 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.| Extension | Source | Strength | SWH |
|---|---|---|---|
.vim | linguist | primary | 4.0M files |
.vim | pygments | primary | 4.0M files |
.vim | wikidata | primary | 4.0M files |
._exrc | pygments | secondary | — |
._gvimrc | pygments | secondary | — |
._vimrc | pygments | secondary | — |
.exrc | pygments | secondary | 81 files |
.gvimrc | pygments | secondary | 704 files |
.vba | linguist | secondary | 18.3K files |
.vimrc | linguist | secondary | 75.5K files |
.vimrc | pygments | secondary | 75.5K files |
.vmb | linguist | secondary | 2.1K files |
Related languages
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.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
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
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
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.vba/0 | .vba | predicates | [{"kind": "any", "regexes": ["^UseVimball"]}] |