runtime(asm): add '#' as comment symbol (GNU as)
Commit:
https://github.com/vim/vim/commit/b1fa262960ca3ef910ae192db58d28b3e3c7719a
Author: Mateo Gjika <[email protected]>
Date: Mon Jan 19 19:08:39 2026 +0000
runtime(asm): add '#' as comment symbol (GNU as)
closes: https://github.com/vim/vim/issues/19158
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/ftplugin/asm.vim b/runtime/ftplugin/asm.vim
index 4482b90d0..46ffcf825 100644
--- a/runtime/ftplugin/asm.vim
+++ b/runtime/ftplugin/asm.vim
@@ -5,12 +5,13 @@
" 2023 Aug 28 by Vim Project (undo_ftplugin)
" 2024 Apr 09 by Vim Project (add Matchit support)
" 2024 May 23 by Riley Bruins <[email protected]>
('commentstring')
+" 2026 Jan 19 by Vim Project (add # as comment symbol)
if exists("b:did_ftplugin") | finish | endif
let b:did_ftplugin = 1
setl include=^\s*%\s*include
-setl comments=:;,s1:/*,mb:*,ex:*/,://
+setl comments=:;,s1:/*,mb:*,ex:*/,://,:#
setl commentstring=;\ %s
let b:undo_ftplugin = "setl commentstring< comments< include<"
--
--
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/E1vhuiQ-003a05-0b%40256bit.org.