annotate runtime/ftplugin/indent.vim @ 31355:45a03dd92f28 v9.0.1011

patch 9.0.1011: ml_get error when using screenpos() Commit: https://github.com/vim/vim/commit/99d19438cabaf13074229d9a32e3a4af9ce98744 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 5 16:23:24 2022 +0000 patch 9.0.1011: ml_get error when using screenpos() Problem: ml_get error when using screenpos(). Solution: Give an error for the line number. (closes https://github.com/vim/vim/issues/11661)
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Dec 2022 17:30:06 +0100
parents 786b2a8ec970
children 7c7432a53a6c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
26219
786b2a8ec970 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 11062
diff changeset
2 " Language: indent(1) configuration file
786b2a8ec970 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 11062
diff changeset
3 " Maintainer: Doug Kearns <dougkearns@gmail.com>
786b2a8ec970 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 11062
diff changeset
4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
786b2a8ec970 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 11062
diff changeset
5 " Latest Revision: 2008-07-09
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
6
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
7 if exists("b:did_ftplugin")
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
8 finish
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
9 endif
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
10 let b:did_ftplugin = 1
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
11
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
12 let s:cpo_save = &cpo
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
13 set cpo&vim
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
14
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
15 let b:undo_ftplugin = "setl com< cms< fo<"
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
16
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
17 setlocal comments=s1:/*,mb:*,ex:*/ commentstring&
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
18 setlocal formatoptions-=t formatoptions+=croql
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
19
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
20 let &cpo = s:cpo_save
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
21 unlet s:cpo_save