view src/po/fixfilenames.vim @ 31584:cfc60c536a2f v9.0.1124

patch 9.0.1124: virtual text at a column position is truncated Commit: https://github.com/vim/vim/commit/1aeb3eb092a384e63a407096102fd5a954aabeb8 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 1 14:04:51 2023 +0000 patch 9.0.1124: virtual text at a column position is truncated Problem: Virtual text at a column position is truncated at the window edge. (Yegappan Lakshmanan) Solution: Do not truncated virtual text that is placed at a column.
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Jan 2023 15:15:03 +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