Mercurial > vim
annotate runtime/ftplugin/dune.vim @ 26672:3516017e5f54 v8.2.3865
patch 8.2.3865: Vim9: compiler complains about using "try" as a struct member
Commit: https://github.com/vim/vim/commit/0d807107b66e0d30d4f338c272962af5714c400e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 21 09:42:09 2021 +0000
patch 8.2.3865: Vim9: compiler complains about using "try" as a struct member
Problem: Vim9: compiler complains about using "try" as a struct member.
Solution: Rename "try" to "tryref".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 21 Dec 2021 10:45:04 +0100 |
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+=#,?,.,/ |