mirror of
https://github.com/neovim/neovim.git
synced 2026-02-18 02:11:06 +10:00
vim-patch:b1fa262: runtime(asm): add '#' as comment symbol (GNU as)
closes: vim/vim#19158
b1fa262960
Co-authored-by: Mateo Gjika <104777599+mateoxh@users.noreply.github.com>
This commit is contained in:
@@ -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