From b1fa262960ca3ef910ae192db58d28b3e3c7719a Mon Sep 17 00:00:00 2001 From: Mateo Gjika <104777599+mateoxh@users.noreply.github.com> Date: Mon, 19 Jan 2026 19:08:39 +0000 Subject: [PATCH] runtime(asm): add '#' as comment symbol (GNU as) closes: #19158 Signed-off-by: Christian Brabandt --- runtime/ftplugin/asm.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/ftplugin/asm.vim b/runtime/ftplugin/asm.vim index 4482b90d0b..46ffcf8256 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 ('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<"