annotate runtime/ftplugin/swayconfig.vim @ 32043:6095218c9056 v9.0.1353

patch 9.0.1353: too many "else if" statements to handle option values Commit: https://github.com/vim/vim/commit/6d611de58c8e324491415da8e79c6bd3faa3e848 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sat Feb 25 11:59:33 2023 +0000 patch 9.0.1353: too many "else if" statements to handle option values Problem: Too many "else if" statements to handle option values. Solution: Add more functions to handle option value changes. (Yegappan Lakshmanan, closes #12058)
author Bram Moolenaar <Bram@vim.org>
date Sat, 25 Feb 2023 13:00:05 +0100
parents 34c1f4cd0c18
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29533
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim filetype plugin file
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Language: sway config file
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Original Author: James Eapen <james.eapen@vai.org>
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " Maintainer: James Eapen <james.eapen@vai.org>
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 " Version: 0.1
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 " Last Change: 2022 June 07
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 if exists("b:did_ftplugin")
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 finish
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 endif
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 let b:did_ftplugin = 1
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 let b:undo_ftplugin = "setlocal cms<"
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15
34c1f4cd0c18 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 setlocal commentstring=#\ %s