Bram Moolenaar | 10e8ff9 | 2023-06-10 21:40:39 +0100 | [diff] [blame^] | 1 | " Vim filetype plugin |
| 2 | " Language: Corn |
| 3 | " Original Author: Jake Stanger (mail@jstanger.dev) |
| 4 | " License: MIT |
| 5 | " Last Change: 2023 May 28 |
| 6 | |
| 7 | if exists('b:did_ftplugin') |
| 8 | finish |
| 9 | endif |
| 10 | let b:did_ftplugin = 1 |
| 11 | |
| 12 | setlocal formatoptions-=t |
| 13 | |
| 14 | " Set comment (formatting) related options. |
| 15 | setlocal commentstring=//\ %s comments=:// |
| 16 | |
| 17 | " Let Vim know how to disable the plug-in. |
| 18 | let b:undo_ftplugin = 'setlocal commentstring< comments< formatoptions<' |