mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-10-07 18:50:18 +02:00
Set 'comments' and 'commentstring' for Robot Framework files. closes: #21220 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Dawid Dziurla <dawidd0811@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
18 lines
406 B
VimL
18 lines
406 B
VimL
" Vim filetype plugin
|
|
" Language: Robot Framework
|
|
" Maintainer: Dawid Dziurla (github.com/dawidd6)
|
|
" Last Change: 2026 Sep 04
|
|
|
|
if exists('b:did_ftplugin')
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setl comments=:# commentstring=#\ %s
|
|
|
|
let b:undo_ftplugin = get(b:, 'undo_ftplugin', '')
|
|
if !empty(b:undo_ftplugin)
|
|
let b:undo_ftplugin .= ' | '
|
|
endif
|
|
let b:undo_ftplugin .= 'setlocal comments< commentstring<'
|