Closed jmdevin closed 2 weeks ago
Where are you seeing the old name? VimL
was renamed to Vim script
in #3278.
Whoops, I only saw that using 'vimscript' in a fenced code blocks doesn't work; after I found the issue I clicked through and read the repo as it existed at the time.
Would it still be possible to add vimscript as an alias, so it works without the space?
Would it still be possible to add vimscript as an alias, so it works without the space?
It actually doesn't work with a space. 😁 Anything after the first token in a fenced code-block tag is ignored, so ```vim script
is effectively the same as writing ```vim
instead, which is what's actually enabling the highlighting.
NB: Any time a space is used in a language name, you can substitute it with a dash wherever a lowercased, "slugified" version of a language identifier is expected (fenced code-blocks, language keyword searches, etc):
" Fuck spaces
set noexpandtab
set tabstop=4 softtabstop=0 shiftwidth=4
I'm certainly learning more about this then I thought I would.
" Fuck spaces
Indeed.
2752 was opened a while ago; long ago enough that it seemingly was forgotten in #3278. I'm wondering if it would now be possible to add both
vimscript
andvim script
as names for vim's language?