view runtime/compiler/sml.vim @ 32104:5a1113ece237 v9.0.1383

patch 9.0.1383: xxd: combination of little endian and cols fails Commit: https://github.com/vim/vim/commit/4390d872b6c9498527a43fc7c30a5384f2e1db12 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Mar 5 20:17:39 2023 +0000 patch 9.0.1383: xxd: combination of little endian and cols fails Problem: xxd: combination of little endian and cols fails. (Aapo Rantalainen) Solution: Round up the space taken by the hex output. (closes #12097)
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Mar 2023 21:30:03 +0100
parents c968191a8557
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	SML/NJ Compiler
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2022 Feb 09

if exists("current_compiler")
  finish
endif
let current_compiler = "sml"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

let s:cpo_save = &cpo
set cpo&vim

CompilerSet makeprg=sml
CompilerSet errorformat=%f:%l.%c-%e.%k\ %trror:\ %m,
		       \%f:%l.%c\ %trror:\ %m,
		       \%trror:\ %m,
		       \%f:%l.%c-%e.%k\ %tarning:\ %m,
		       \%f:%l.%c\ %tarning:\ %m,
		       \%tarning:\ %m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save