robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
1b5a394ffd
master
1" Vim filetype plugin file 2" Language: Apache Thrift 3" Maintainer: Yinzuo Jiang <jiangyinzuo@foxmail.com> 4" Last Change: 2024/07/29 5 6if exists ( "b:did_ftplugin" ) 7finish 8endif 9 10let b: did_ftplugin = 1 11 12" Thrift supports shell-style, C-style multi-line as well as single-line Java/C++ style comments. 13" Reference: https://diwakergupta.github.io/thrift-missing-guide/#_language_reference 14setlocal comments = sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://,b:# 15setlocal commentstring = //\ %s 16 17let b: undo_ftplugin = 'setl comments< commentstring<'