| Bram Moolenaar | 07d8779 | 2014-07-19 14:04:47 +0200 | [diff] [blame] | 1 | " Vim filetype plugin |
| 2 | " Language: JSON | ||||
| 3 | " Maintainer: David Barnett <daviebdawg+vim@gmail.com> | ||||
| 4 | " Last Change: 2014 Jul 16 | ||||
| 5 | |||||
| 6 | if exists('b:did_ftplugin') | ||||
| 7 | finish | ||||
| 8 | endif | ||||
| 9 | let b:did_ftplugin = 1 | ||||
| 10 | |||||
| 11 | let b:undo_ftplugin = 'setlocal formatoptions< comments< commentstring<' | ||||
| 12 | |||||
| 13 | setlocal formatoptions-=t | ||||
| 14 | |||||
| 15 | " JSON has no comments. | ||||
| 16 | setlocal comments= | ||||
| 17 | setlocal commentstring= | ||||