blob: c2b1679b3c2eb1b7b159479683c49eb8b92d01a1 [file] [log] [blame]
Kirill Morozov32f49732025-04-24 21:28:56 +02001" Vim compiler file
2" Language: Gleam
3" Maintainer: Kirill Morozov <kirill@robotix.pro>
4" Based On: https://github.com/gleam-lang/gleam.vim
5" Last Change: 2025 Apr 21
6
7if exists('current_compiler')
8 finish
9endif
10let current_compiler = "gleam_build"
11
12CompilerSet makeprg=gleam\ build
13
14" Example error message:
15"
16" error: Unknown variable
17" ┌─ /home/michael/root/projects/tutorials/gleam/try/code/src/main.gleam:19:18
18"
19" 19 │ Ok(tuple(name, spot))
20" ^^^^ did you mean `sport`?
21"
22" The name `spot` is not in scope here.
23CompilerSet errorformat=%Eerror:\ %m,%Wwarning:\ %m,%C\ %#┌─%#\ %f:%l:%c\ %#-%#
24
25" vim: sw=2 sts=2 et