robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonvim-patch:32f4973: runtime(gleam): update filetype plugin, include new compiler and syntax script9e450000d3

master
674 B25 linesraw
1" 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