runtime(asm): add '#' as comment symbol (GNU as)

closes: #19158

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Mateo Gjika
2026-01-19 19:08:39 +00:00
committed by Christian Brabandt
parent d5f173cf90
commit b1fa262960
+2 -1
View 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<"