mirror of
https://github.com/vim/vim.git
synced 2026-05-06 12:26:58 -04:00
runtime(asm): add '#' as comment symbol (GNU as)
closes: #19158 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
d5f173cf90
commit
b1fa262960
@@ -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<"
|
||||
|
||||
Reference in New Issue
Block a user