Mercurial > vim
annotate runtime/ftplugin/dune.vim @ 25453:21b70bab366c v8.2.3263
patch 8.2.3263: Vim9: "..=" does not accept same types as the ".." operator
Commit: https://github.com/vim/vim/commit/f5d52c90e0f2f51622a911b646024b2ad1225ed4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 31 22:51:10 2021 +0200
patch 8.2.3263: Vim9: "..=" does not accept same types as the ".." operator
Problem: Vim9: "..=" does not accept same types as the ".." operator.
Solution: Convert value to string like ".." does. (issue https://github.com/vim/vim/issues/8664)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 31 Jul 2021 23:00:04 +0200 |
parents | 15fa3923cc49 |
children | 02939ae3aaca |
rev | line source |
---|---|
17261 | 1 " Language: Dune buildsystem |
2 " Maintainer: Markus Mottl <markus.mottl@gmail.com> | |
3 " Anton Kochkov <anton.kochkov@gmail.com> | |
23466 | 4 " URL: https://github.com/ocaml/vim-ocaml |
17261 | 5 " Last Change: |
6 " 2018 Nov 3 - Added commentstring (Markus Mottl) | |
7 " 2017 Sep 6 - Initial version (Etienne Millon) | |
8 | |
9 if exists("b:did_ftplugin") | |
10 finish | |
11 endif | |
12 let b:did_ftplugin=1 | |
13 | |
14 set lisp | |
15 | |
16 " Comment string | |
17 setl commentstring=;\ %s | |
18 setl comments=:; | |
19 | |
20 setl iskeyword+=#,?,.,/ |