mirror of
https://github.com/neovim/neovim.git
synced 2026-09-02 12:23:50 +00:00
Problem: filetype: radvd config files are not recognized
Solution: Detect radvd.conf as radvd filetype, include syntax and
filetype plugins, add syntax tests, update the menus (mdspan).
Reference:
https://linux.die.net/man/5/radvd.conf
closes: vim/vim#21159
d4c8c66bed
Co-authored-by: mdspan <mdspan.github@gmail.com>
14 lines
303 B
VimL
14 lines
303 B
VimL
" Vim filetype plugin file
|
|
" Language: radvd configuration
|
|
" Maintainer: mdspan <mdspan.github@gmail.com>
|
|
" Last Change: 2026 Aug 27
|
|
|
|
if exists("b:did_ftplugin")
|
|
finish
|
|
endif
|
|
let b:did_ftplugin = 1
|
|
|
|
setlocal comments=s1:/*,mb:*,ex:*/,://,:# commentstring=#\ %s
|
|
|
|
let b:undo_ftplugin = "setl com< cms<"
|