Mercurial > vim
annotate runtime/syntax/libao.vim @ 17206:8ca93f88b84a v8.1.1602
patch 8.1.1602: popup window cannot overflow on the left or right
commit https://github.com/vim/vim/commit/711d02c96da996e3423a6518909687e1d45ce45a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 28 04:06:50 2019 +0200
patch 8.1.1602: popup window cannot overflow on the left or right
Problem: Popup window cannot overflow on the left or right.
Solution: Only set the "fixed" option when it is in the dict. Set w_leftcol
to allow for the popup overflowing on the left and use it when
applying the mask.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 28 Jun 2019 04:15:05 +0200 |
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 |