commit 3b4481d3a575ace2ef78a6e95a1b1491e58e452c
parent f7274fde0682f9cc7e74abf2fae189f678be4df9
Author: Christian Clason <c.clason@uni-graz.at>
Date: Mon, 8 Jul 2024 10:48:01 +0200
vim-patch:380f980: runtime(lex): include lex ftplugin file
Spec found [here](https://docs.oracle.com/cd/E19504-01/802-5880/lex-6/index.html)
closes: vim/vim#15174
https://github.com/vim/vim/commit/380f98002dace3848dacc5178289d55745efc757
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Diffstat:
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/runtime/ftplugin/lex.vim b/runtime/ftplugin/lex.vim
@@ -0,0 +1,14 @@
+" Vim filetype plugin
+" Language: Lex and Flex
+" Maintainer: Riley Bruins <ribru17@gmail.com>
+" Last Change: 2024 Jul 06
+
+if exists('b:did_ftplugin')
+ finish
+endif
+let b:did_ftplugin = 1
+
+setlocal comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,://
+setlocal commentstring=//\ %s
+
+let b:undo_ftplugin = 'setl com< cms<'