Files
Dawid DziurlaandCopilot a96c3bc1f7 runtime(robot): Include ftplugin and set comment options
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>
2026-09-06 19:02:51 +00:00

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<'