]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(masm): set 'com' and 'cms' options in ftplugin
authorRiley Bruins <ribru17@hotmail.com>
Thu, 12 Jun 2025 20:07:40 +0000 (22:07 +0200)
committerChristian Brabandt <cb@256bit.org>
Thu, 12 Jun 2025 20:07:40 +0000 (22:07 +0200)
closes: #17484

Signed-off-by: Riley Bruins <ribru17@hotmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/masm.vim

index ab196eb8209576396b5a80969d641449af7a6d23..5f33859af01eba018456b195eb0209ef9b580e22 100644 (file)
@@ -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')