Mercurial > vim
view runtime/autoload/modula2.vim @ 34118:941f7dc1c7dd v9.1.0023
patch 9.1.0023: xxd: few problems with EBCDIC for z/OS (MVS)
Commit: https://github.com/vim/vim/commit/48a75f3dfb906a2d333a7b1c3545e2eb359596db
Author: Igor Todorovski <itodorov@ca.ibm.com>
Date: Tue Jan 9 21:05:48 2024 +0000
patch 9.1.0023: xxd: few problems with EBCDIC for z/OS (MVS)
Problem: xxd: few problems with EBCDIC for z/OS (MVS)
Solution: Fix xxd build and support ASCII and UTF-8 on z/OS (MVS)
natively, add MVS guard checks with __CHARSET_LIB,
support $LIBS in the Makefile
(Igor Todorovski)
related: #13821
Signed-off-by: Igor Todorovski <itodorov@ca.ibm.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 12 Jan 2024 18:00:05 +0100 |
parents | ff27442e7851 |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: Modula-2 " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2024 Jan 04 " Dialect can be one of pim, iso, r10 function modula2#GetDialect() abort if exists("b:modula2.dialect") return b:modula2.dialect endif if exists("g:modula2_default_dialect") let dialect = g:modula2_default_dialect else let dialect = "pim" endif return dialect endfunction function modula2#SetDialect(dialect, extension = "") abort if exists("b:modula2") unlockvar! b:modula2 endif let b:modula2 = #{ dialect: a:dialect, extension: a:extension } lockvar! b:modula2 endfunction " vim: nowrap sw=2 sts=2 ts=8 noet fdm=marker: