From: Mateo Gjika <104777599+mateoxh@users.noreply.github.com> Date: Mon, 19 Jan 2026 19:08:39 +0000 (+0000) Subject: runtime(asm): add '#' as comment symbol (GNU as) X-Git-Tag: v9.1.2099~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1fa262960ca3ef910ae192db58d28b3e3c7719a;p=thirdparty%2Fvim.git runtime(asm): add '#' as comment symbol (GNU as) closes: #19158 Signed-off-by: Christian Brabandt --- 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<"