Mercurial > vim
annotate runtime/ftplugin/awk.vim @ 22081:2b9a2bc77b42 v8.2.1590
patch 8.2.1590: Vim9: bufnr() doesn't take "true" argument
Commit: https://github.com/vim/vim/commit/fe136c9a85412f4bdb5de70ef8416af5fa382b28
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 4 18:35:26 2020 +0200
patch 8.2.1590: Vim9: bufnr() doesn't take "true" argument
Problem: Vim9: bufnr() doesn't take "true" argument.
Solution: use tv_get_bool_chk(). (closes https://github.com/vim/vim/issues/6863)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 04 Sep 2020 18:45: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 |