summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-01-20 07:07:47 +0800
committerzeertzjq <zeertzjq@outlook.com>2026-01-20 07:56:53 +0800
commitc0062da148e26866d740c7247cc28d0fdc90d3ec (patch)
tree1576df6277371f96bd9edd4169ab4878c41715f1 /runtime/ftplugin
parent4fb8ba303cbae4b7a3e7a355e7a9f19e4e379f55 (diff)
vim-patch:b1fa262: runtime(asm): add '#' as comment symbol (GNU as)
closes: vim/vim#19158 https://github.com/vim/vim/commit/b1fa262960ca3ef910ae192db58d28b3e3c7719a Co-authored-by: Mateo Gjika <104777599+mateoxh@users.noreply.github.com>
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/asm.vim3
1 files changed, 2 insertions, 1 deletions
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 <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<"