Wu, Zhenyu | fcbefe7 | 2024-04-11 21:25:39 +0200 | [diff] [blame] | 1 | " Vim Compiler File |
| 2 | " Language: vimdoc |
| 3 | " Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu> |
Shane-XB-Qian | e92ed1b | 2024-04-15 02:20:01 +0800 | [diff] [blame] | 4 | " Latest Revision: 2024-04-13 |
Wu, Zhenyu | fcbefe7 | 2024-04-11 21:25:39 +0200 | [diff] [blame] | 5 | " |
Shane-XB-Qian | e92ed1b | 2024-04-15 02:20:01 +0800 | [diff] [blame] | 6 | " If you can not find 'vimdoc' in the package manager of your distribution e.g |
| 7 | " 'pip', then you may need to build it from its source. |
Wu, Zhenyu | fcbefe7 | 2024-04-11 21:25:39 +0200 | [diff] [blame] | 8 | |
| 9 | if exists('b:current_compiler') |
| 10 | finish |
| 11 | endif |
| 12 | let b:current_compiler = 'vimdoc' |
| 13 | |
| 14 | let s:save_cpoptions = &cpoptions |
| 15 | set cpoptions&vim |
| 16 | |
| 17 | CompilerSet makeprg=vimdoc |
| 18 | |
| 19 | let &cpoptions = s:save_cpoptions |
| 20 | unlet s:save_cpoptions |