mirror of
https://github.com/vim/vim.git
synced 2026-10-23 08:15:49 +02:00
closes: #21319 Signed-off-by: Amelia Clarke <selene@perilune.dev> Signed-off-by: Christian Brabandt <cb@256bit.org>
21 lines
580 B
VimL
21 lines
580 B
VimL
" Vim filetype plugin
|
|
" Language: NASM - The Netwide Assembler
|
|
" Maintainer: Amelia Clarke <selene@perilune.dev>
|
|
" Last Change: 2026 Sep 15
|
|
" NASM Home: https://nasm.us/
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setlocal comments=:;
|
|
setlocal commentstring=;\ %s
|
|
let &l:define = '\v\c^\s*\%i?%(x?define|def%(alias|str|tok)|macro)>'
|
|
setlocal formatoptions-=t formatoptions+=croql
|
|
let &l:include = '\c^\s*%include\>'
|
|
setlocal iskeyword=@,48-57,#,$,.,?,@-@,_,~
|
|
let b:undo_ftplugin = 'setl cms< com< def< fo< inc< isk<'
|
|
|
|
" vim: et sts=2 sw=2 ts=8 tw=80
|