]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(asm): add '#' as comment symbol (GNU as)
authorMateo Gjika <104777599+mateoxh@users.noreply.github.com>
Mon, 19 Jan 2026 19:08:39 +0000 (19:08 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 19 Jan 2026 19:08:39 +0000 (19:08 +0000)
closes: #19158

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/ftplugin/asm.vim

index 4482b90d0b5667e31d080f590b11e0d4403d736e..46ffcf82564742acda48e2db45b8361566387406 100644 (file)
@@ -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 <ribru17@gmail.com> ('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<"