annotate runtime/ftplugin/dune.vim @ 25318:24bd79082d86 v8.2.3196

patch 8.2.3196: Vim9: bool expression with numbers only fails at runtime Commit: https://github.com/vim/vim/commit/05bd9785fd0fd0102ab64554307bff0ec0ae34c1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 21 21:37:28 2021 +0200 patch 8.2.3196: Vim9: bool expression with numbers only fails at runtime Problem: Vim9: bool expression with numbers only fails at runtime. Solution: Check constant to be bool at compile time. (closes https://github.com/vim/vim/issues/8603)
author Bram Moolenaar <Bram@vim.org>
date Wed, 21 Jul 2021 21:45:04 +0200
parents 15fa3923cc49
children 02939ae3aaca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17261
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Language: Dune buildsystem
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Maintainer: Markus Mottl <markus.mottl@gmail.com>
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Anton Kochkov <anton.kochkov@gmail.com>
23466
15fa3923cc49 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 17261
diff changeset
4 " URL: https://github.com/ocaml/vim-ocaml
17261
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 " Last Change:
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " 2018 Nov 3 - Added commentstring (Markus Mottl)
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 " 2017 Sep 6 - Initial version (Etienne Millon)
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 if exists("b:did_ftplugin")
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 finish
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 endif
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 let b:did_ftplugin=1
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 set lisp
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 " Comment string
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 setl commentstring=;\ %s
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 setl comments=:;
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 setl iskeyword+=#,?,.,/