compiler: update error format
`:make` did not work. I guess, the output of `hare build` has changed
and this plugin is not up to date.
Signed-off-by: Max Schillinger <maxschillinger@web.de>
syntax: hi def link hareAttribute PreProc
highlight align() builtin
syntax: fix multi-line raw string literals
ftplugin: conform to Vim style
This commit makes a few minor adjustments to the Hare filetype plugin to
conform to the style used by Vim itself. Specifically, the preferred
indentation and textwidth settings for Hare are now gated behind
'g:hare_recommended_style' but are still set by default. Additionally,
the required 'b:undo_ftplugin' has been added.
Besides minor adjustments to formatting and the addition of 'comments'
and 'suffixesadd', '/' has been added to 'formatoptions', meaning that
comments are only continued by 'o' and 'O' if the comment is at the
beginning of the line. When the comment is at the end of a statement,
comments will not be continued:
defer free(buf); // This comment will not be continued.
Signed-off-by: Amelia Clarke <me@rsaihe.dev>
Update headers to conform to style used by Vim
Signed-off-by: Amelia Clarke <me@rsaihe.dev>
syntax: improve use statement
Use statements are now highlighted correctly in all cases, including
when there is leading whitespace or when they take up multiple lines,
including comments inside.
Signed-off-by: Amelia Clarke <me@rsaihe.dev>
syntax: remove '..' and '...' operators
Signed-off-by: Amelia Clarke <me@rsaihe.dev>
syntax: allow blocks to be folded
Signed-off-by: Amelia Clarke <me@rsaihe.dev>
syntax: add highlighting for [[...]] in comments
Signed-off-by: Amelia Clarke <me@rsaihe.dev>