robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
ab20681c52
master
1" Vim Compiler File 2" Language: rime_deployer 3" Maintainer: Wu, Zhenyu <wuzhenyu@ustc.edu> 4" URL: https://rime.im 5" Latest Revision: 2024-04-09 6" Last Change: 2025 Nov 16 by The Vim Project (set errorformat) 7 8if exists ( 'b:current_compiler' ) 9finish 10endif 11let b: current_compiler = 'rime_deployer' 12 13let s: save_cpoptions = & cpoptions 14set cpoptions & vim 15 16" Android Termux 17let s: prefix = getenv ( 'PREFIX' ) 18if s: prefix == v: null 19let s: prefix = '/usr' 20endif 21" Android, NixOS, GNU/Linux, BSD 22for s: shared_data_dir in [ '/sdcard/rime-data' , '/run/current-system/sw/share/rime-data' , '/usr/local/share/rime-data' , s: prefix . '/share/rime-data' ] 23if isdirectory ( s: shared_data_dir ) 24break 25endif 26endfor 27execute 'CompilerSet makeprg=rime_deployer\ --build\ %:p:h:S\' s: shared_data_dir 28unlet s: prefix s: shared_data_dir 29" CompilerSet errorformat=%f:%l:%c:\ %m,%f:%l:\ %m 30CompilerSet errorformat& 31 32let & cpoptions = s: save_cpoptions 33unlet s: save_cpoptions