Wu, Zhenyu | 72d81a6 | 2024-04-08 22:19:06 +0200 | [diff] [blame] | 1 | " Vim filetype plugin file |
| 2 | " Language: Zathurarc |
| 3 | " Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu> |
| 4 | " Documentation: https://pwmt.org/projects/zathura/documentation/ |
| 5 | " Upstream: https://github.com/Freed-Wu/zathurarc.vim |
| 6 | " Latest Revision: 2024-04-02 |
| 7 | |
| 8 | if exists('b:did_ftplugin') |
| 9 | finish |
| 10 | endif |
| 11 | let b:did_ftplugin = 1 |
| 12 | |
| 13 | let s:save_cpoptions = &cpoptions |
| 14 | set cpoptions&vim |
| 15 | |
| 16 | let b:undo_ftplugin = 'setlocal comments< commentstring< include<' |
| 17 | setlocal comments=:# |
| 18 | setlocal commentstring=#\ %s |
| 19 | setlocal include=^\sinclude |
| 20 | |
| 21 | let &cpoptions = s:save_cpoptions |
| 22 | unlet s:save_cpoptions |