view runtime/syntax/libao.vim @ 20567:5e86e00fa712 v8.2.0837

patch 8.2.0837: compiler warning for value set but not used Commit: https://github.com/vim/vim/commit/b60db8ba149b26024e6d871e8634d7fea639252a Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 29 21:38:42 2020 +0200 patch 8.2.0837: compiler warning for value set but not used Problem: Compiler warning for value set but not used. Solution: Move variable inside #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Fri, 29 May 2020 21:45:03 +0200
parents 1218c5353e2b
children
line wrap: on
line source

" Vim syntax file
" Language:             libao.conf(5) configuration file
" Previous Maintainer:  Nikolai Weibull <now@bitwi.se>
" Latest Revision:      2006-04-19

if exists("b:current_syntax")
  finish
endif

let s:cpo_save = &cpo
set cpo&vim

syn keyword libaoTodo     contained TODO FIXME XXX NOTE

syn region  libaoComment  display oneline start='^\s*#' end='$'
                          \ contains=libaoTodo,@Spell

syn keyword libaoKeyword  default_driver

hi def link libaoTodo     Todo
hi def link libaoComment  Comment
hi def link libaoKeyword  Keyword

let b:current_syntax = "libao"

let &cpo = s:cpo_save
unlet s:cpo_save