Mercurial > vim
annotate runtime/syntax/libao.vim @ 27587:298b32b544ae v8.2.4320
patch 8.2.4320: Athena and Motif: when maximized scrollbar position is wrong
Commit: https://github.com/vim/vim/commit/28f1a51bde36e2770dd54c9e2ae69a26cafa5a64
Author: qsmodo <75080827+qsmodo@users.noreply.github.com>
Date: Mon Feb 7 15:57:50 2022 +0000
patch 8.2.4320: Athena and Motif: when maximized scrollbar position is wrong
Problem: Athena and Motif: when maximized scrollbar position is wrong.
Solution: Implement the scrollbar padding functions. (closes https://github.com/vim/vim/issues/9712)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 07 Feb 2022 17:00:05 +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 |