Mercurial > vim
view runtime/syntax/libao.vim @ 12206:bd8d767fb36f v8.0.0983
patch 8.0.0983: unnecessary check for NULL pointer
commit https://github.com/vim/vim/commit/3f9a1ff141412e9e85f7dff47d02946cb9be9228
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Aug 21 22:06:02 2017 +0200
patch 8.0.0983: unnecessary check for NULL pointer
Problem: Unnecessary check for NULL pointer.
Solution: Remove the NULL check in dialog_changed(), it already happens in
dialog_msg(). (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 21 Aug 2017 22:15:06 +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