Mercurial > vim
annotate runtime/syntax/libao.vim @ 10680:75c324ab1270 v8.0.0230
patch 8.0.0230: bracketed paste does not support line breaks
commit https://github.com/vim/vim/commit/915350edec02f0326ecbe49f3b6cf2cbcd105f7d
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 24 17:50:52 2017 +0100
patch 8.0.0230: bracketed paste does not support line breaks
Problem: When using bracketed paste line breaks are not respected.
Solution: Turn CR characters into a line break if the text is being
inserted. (closes #1404)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 24 Jan 2017 18:00:06 +0100 |
parents | 1f3b1021f002 |
children | 1218c5353e2b |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
375 | 2 " Language: libao.conf(5) configuration file |
839 | 3 " 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 |