annotate runtime/ftplugin/elm.vim @ 22139:c7fb7361df33 v8.2.1619

patch 8.2.1619: Vim9: cannot pass "true" to spellsuggest() Commit: https://github.com/vim/vim/commit/7c27f337bf278babc1ccdcb66ac975f115d660b7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 5 22:45:55 2020 +0200 patch 8.2.1619: Vim9: cannot pass "true" to spellsuggest() Problem: Vim9: cannot pass "true" to spellsuggest(). Solution: Use tv_get_bool_chk(). (closes https://github.com/vim/vim/issues/6883)
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Sep 2020 23:00:03 +0200
parents 661eb972cb22
children 4d76b3e07c07
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20753
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Elm filetype plugin file
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: Elm
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: Andreas Scharf <as@99n.de>
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Latest Revision: 2020-05-29
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 if exists("b:did_ftplugin")
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 finish
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 endif
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 let b:did_ftplugin = 1
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 let s:cpo_save = &cpo
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 set cpo&vim
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 setlocal comments=s1fl:{-,mb:\ ,ex:-},:--
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 setlocal commentstring=--\ %s
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 let &cpo = s:cpo_save
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 unlet s:cpo_save