annotate runtime/ftplugin/meson.vim @ 33072:6028d7f701ce v9.0.1823

patch 9.0.1823: Autoconf 2.69 too old Commit: https://github.com/vim/vim/commit/a96d544bc355b1a6021feccf5fa2bd5659bc5269 Author: Illia Bobyr <illia.bobyr@gmail.com> Date: Wed Aug 30 16:30:15 2023 +0200 patch 9.0.1823: Autoconf 2.69 too old Problem: Autoconf 2.69 too old Solution: Migrate to Autoconf 2.71 Autoconf 2.69 is almost 10 years old. And 2.71 is also a few years old as well. Should be pretty well tested by now. It brings a lot of improvements and there seems to be an ongoing work on autoconf 2.72 already. This change just addresses two minor changes `autoupdate` suggested, and then `src/auto/configure` is regenerated by running cd src make AUTOCONF=autoconf2.71 autoconf closes: #12958 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Illia Bobyr <illia.bobyr@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Wed, 30 Aug 2023 16:45:05 +0200
parents babd9f1dbe12
children 8ae680be2a51
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18456
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim filetype plugin file
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: meson
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " License: VIM License
24636
840665e74421 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18456
diff changeset
4 " Maintainer: Liam Beguin <liambeguin@gmail.com>
18456
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 " Original Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " Last Change: 2018 Nov 27
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 if exists("b:did_ftplugin") | finish | endif
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 let b:did_ftplugin = 1
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 let s:keepcpo= &cpo
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 set cpo&vim
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 setlocal commentstring=#\ %s
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 setlocal comments=:#
26100
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
15 setlocal formatoptions+=croql formatoptions-=t
18456
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16
26100
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
17 let b:undo_ftplugin = "setl com< cms< fo<"
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
18
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
19 if get(g:, "meson_recommended_style", 1)
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
20 setlocal expandtab
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
21 setlocal shiftwidth=2
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
22 setlocal softtabstop=2
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
23 let b:undo_ftplugin .= " | setl et< sts< sw<"
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
24 endif
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
25
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
26 if exists("loaded_matchit") && !exists("b:match_words")
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
27 let b:match_words = '\<if\>:\<elif\>:\<else\>:\<endif\>,' .
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
28 \ '\<foreach\>:\<break\>:\<continue\>:\<endforeach\>'
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
29 let b:undo_ftplugin .= " | unlet! b:match_words"
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
30 endif
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
31
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
32 if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter")
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
33 let b:browsefilter = "Meson Build Files (meson.build)\tmeson.build\n" .
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
34 \ "All Files (*.*)\t*.*\n"
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
35 let b:undo_ftplugin .= " | unlet! b:browsefilter"
babd9f1dbe12 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24636
diff changeset
36 endif
18456
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
37
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
38 let &cpo = s:keepcpo
6d11fc4aa683 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
39 unlet s:keepcpo