Mercurial > vim
view runtime/ftplugin/thrift.vim @ 36247:a3244333f8c4 draft
runtime(misc): unset compiler in various ftplugins
Commit: https://github.com/vim/vim/commit/7c3f9af0ed5dd7035f8a3fbb2f0bf965a453e359
Author: Konfekt <Konfekt@users.noreply.github.com>
Date: Sat Oct 5 17:26:46 2024 +0200
runtime(misc): unset compiler in various ftplugins
just to foster best practices
closes: #15798
Signed-off-by: Konfekt <Konfekt@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 05 Oct 2024 17:30:04 +0200 |
parents | 895c9428e284 |
children |
line wrap: on
line source
" Vim filetype plugin file " Language: Apache Thrift " Maintainer: Yinzuo Jiang <jiangyinzuo@foxmail.com> " Last Change: 2024/07/29 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 " Thrift supports shell-style, C-style multi-line as well as single-line Java/C++ style comments. " Reference: https://diwakergupta.github.io/thrift-missing-guide/#_language_reference setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,:///,://,b:# setlocal commentstring=//\ %s let b:undo_ftplugin = 'setl comments< commentstring<'