Mercurial > vim
view src/po/fixfilenames.vim @ 32039:f08ee1b65dbf v9.0.1351
patch 9.0.1351: Dhall files are not recognized
Commit: https://github.com/vim/vim/commit/def5521752abefe12db8cc3111a3b205ad1ac929
Author: Amaan Qureshi <amaanq12@gmail.com>
Date: Fri Feb 24 16:01:54 2023 +0000
patch 9.0.1351: Dhall files are not recognized
Problem: Dhall files are not recognized.
Solution: Add patterns for Dhall files. (Amaan Qureshi, closes https://github.com/vim/vim/issues/12052)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 24 Feb 2023 17:15:05 +0100 |
parents | aa91480771fe |
children | 04563887d70e |
line wrap: on
line source
" Invoked with the name "vim.pot" and a list of Vim script names. " Converts them to a .js file, stripping comments, so that xgettext works. set shortmess+=A for name in argv()[1:] let jsname = fnamemodify(name, ":t:r") .. ".js" exe "%s+" .. jsname .. "+" .. substitute(name, '\\', '/', 'g') .. "+" endfor write last quit