mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 02:34:59 -07:00
vim-patch:ad4764f: runtime(proto): include filetype plugin for protobuf
closes: vim/vim#16199
ad4764f65b
Co-authored-by: David Pedersen <limero@me.com>
This commit is contained in:
parent
d1fd674df3
commit
c3899419d4
18
runtime/ftplugin/proto.vim
Normal file
18
runtime/ftplugin/proto.vim
Normal file
@ -0,0 +1,18 @@
|
||||
" Vim filetype plugin
|
||||
" Language: Protobuf
|
||||
" Maintainer: David Pedersen <limero@me.com>
|
||||
" Last Change: 2024 Dec 09
|
||||
|
||||
if exists('b:did_ftplugin')
|
||||
finish
|
||||
endif
|
||||
let b:did_ftplugin = 1
|
||||
|
||||
setlocal formatoptions-=t formatoptions+=croql
|
||||
|
||||
setlocal comments=s1:/*,mb:*,ex:*/,://
|
||||
setlocal commentstring=//\ %s
|
||||
|
||||
let b:undo_ftplugin = "setlocal formatoptions< comments< commentstring<"
|
||||
|
||||
" vim: sw=2 sts=2 et
|
Loading…
Reference in New Issue
Block a user