runtime(masm): set 'com' and 'cms' options in ftplugin
Commit:
https://github.com/vim/vim/commit/d296af94d0e2b2105e417441e8902d3c12380fe6
Author: Riley Bruins <[email protected]>
Date: Thu Jun 12 22:07:40 2025 +0200
runtime(masm): set 'com' and 'cms' options in ftplugin
closes: https://github.com/vim/vim/issues/17484
Signed-off-by: Riley Bruins <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/ftplugin/masm.vim b/runtime/ftplugin/masm.vim
index ab196eb82..5f33859af 100644
--- 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 <[email protected]>
-" 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')
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1uPoKG-00Fu1D-0s%40256bit.org.