commit 1ede826e049dde60bf21c1fe9b12729aaa0dbddb
parent beee60f3a0242d1a2deacfb91010098d38844326
Author: Christian Clason <c.clason@uni-graz.at>
Date: Fri, 13 Jun 2025 09:37:22 +0200
vim-patch:d296af9: runtime(masm): set 'com' and 'cms' options in ftplugin
closes: vim/vim#17484
https://github.com/vim/vim/commit/d296af94d0e2b2105e417441e8902d3c12380fe6
Co-authored-by: Riley Bruins <ribru17@hotmail.com>
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/runtime/ftplugin/masm.vim b/runtime/ftplugin/masm.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin file
" Language: Microsoft Macro Assembler (80x86)
" Maintainer: Wu Yongwei <wuyongwei@gmail.com>
-" Last Change: 2022-04-24 21:24:52 +0800
+" Last Change: 2025-06-09 04:40:00 +0800
if exists("b:did_ftplugin")
finish
@@ -11,9 +11,11 @@ let b:did_ftplugin = 1
let s:cpo_save = &cpo
set cpo&vim
-let b:undo_ftplugin = "setl iskeyword<"
+let b:undo_ftplugin = "setl iskeyword< comments< commentstring<"
setlocal iskeyword=@,48-57,_,36,60,62,63,@-@
+setlocal comments=:;
+setlocal commentstring=;\ %s
" Matchit support
if !exists('b:match_words')