Mercurial > vim
annotate runtime/ftplugin/awk.vim @ 21871:e27555ca1093 v8.2.1485
patch 8.2.1485: Vim9: readdirex() expression doesn't accept bool
Commit: https://github.com/vim/vim/commit/af8822ce085e3bd8edeb52cbb7306ddd42427d39
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 19 13:55:01 2020 +0200
patch 8.2.1485: Vim9: readdirex() expression doesn't accept bool
Problem: Vim9: readdirex() expression doesn't accept bool.
Solution: Accept both -1 and bool. (closes https://github.com/vim/vim/issues/6737)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 19 Aug 2020 14:00:04 +0200 |
parents | c391bfbdb452 |
children | a3bb84cd0f59 |
rev | line source |
---|---|
10895 | 1 " Vim filetype plugin |
2 " Language: awk, nawk, gawk, mawk | |
3 " Maintainer: Antonio Colombo <azc100@gmail.com> | |
4 " Last Change: 2017 Feb 17 | |
5 | |
6 " This plugin was prepared by Mark Sikora | |
7 | |
8 " Only do this when not done yet for this buffer | |
9 if exists("b:did_ftplugin") | |
10 finish | |
11 endif | |
12 | |
13 " Don't load another plugin for this buffer | |
14 let b:did_ftplugin = 1 | |
15 | |
16 let b:undo_ftplugin = "setl commentstring<" | |
17 | |
18 setlocal commentstring=#\ %s |