Mercurial > vim
annotate runtime/syntax/libao.vim @ 23384:f719577ddae6 v8.2.2235
patch 8.2.2235: build failure with some Ruby versions
Commit: https://github.com/vim/vim/commit/dace9f785fca6cc802b2fb7f11a5ee4fab896432
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 28 15:07:45 2020 +0100
patch 8.2.2235: build failure with some Ruby versions
Problem: Build failure with some Ruby versions.
Solution: Adjust the code for Ruby 3.0. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/7564)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 28 Dec 2020 15:15:03 +0100 |
parents | 1218c5353e2b |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
11062 | 2 " Language: libao.conf(5) configuration file |
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | |
4 " Latest Revision: 2006-04-19 | |
7 | 5 |
375 | 6 if exists("b:current_syntax") |
7 | 7 finish |
8 endif | |
9 | |
375 | 10 let s:cpo_save = &cpo |
11 set cpo&vim | |
7 | 12 |
375 | 13 syn keyword libaoTodo contained TODO FIXME XXX NOTE |
7 | 14 |
389 | 15 syn region libaoComment display oneline start='^\s*#' end='$' |
375 | 16 \ contains=libaoTodo,@Spell |
7 | 17 |
375 | 18 syn keyword libaoKeyword default_driver |
7 | 19 |
375 | 20 hi def link libaoTodo Todo |
21 hi def link libaoComment Comment | |
22 hi def link libaoKeyword Keyword | |
7 | 23 |
24 let b:current_syntax = "libao" | |
25 | |
375 | 26 let &cpo = s:cpo_save |
27 unlet s:cpo_save |