HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Program Files/Git/usr/share/vim/vim91/compiler/gleam_build.vim
" Vim compiler file
" Language:    Gleam
" Maintainer:  Kirill Morozov <[email protected]>
" Based On:    https://github.com/gleam-lang/gleam.vim
" Last Change: 2025 Apr 21

if exists('current_compiler')
  finish
endif
let current_compiler = "gleam_build"

CompilerSet makeprg=gleam\ build

" Example error message:
"
" error: Unknown variable
"    ┌─ /home/michael/root/projects/tutorials/gleam/try/code/src/main.gleam:19:18
"    │
" 19 │   Ok(tuple(name, spot))
"    │                  ^^^^ did you mean `sport`?
"
" The name `spot` is not in scope here.
CompilerSet errorformat=%Eerror:\ %m,%Wwarning:\ %m,%C\ %#┌─%#\ %f:%l:%c\ %#-%#

" vim: sw=2 sts=2 et