diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-03-19 11:10:39 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-19 11:10:39 +0800 |
| commit | e1c4e5523f77fe65839ded8f8c8ec4698b136ebe (patch) | |
| tree | bfeb4875af5bdc5fa1cc0200aa53adaa89c1bf99 /runtime/lua/vim | |
| parent | 875958c9a1d1cd7454e66376676995fc2655a9d4 (diff) | |
vim-patch:39ee7d1: runtime(yara): add ftplugin for yara filetype (#38361)
Add a minimal ftplugin `runtime/ftplugin/yara.vim` that sets:
- `commentstring` for YARA line comments (`//`)
- `comments` for YARA block comment (`/* */`)
- `formatoptions` to wrap comment lines and continue comment after newlines
This was heavily inspired from `runtime/ftplugin/c.vim`
closes: vim/vim#19736
https://github.com/vim/vim/commit/39ee7d17b9dec0a83eaa500f8a6f9c9d1b076bcf
Co-authored-by: Thomas Dupuy <thom4s.d@gmail.com>
Diffstat (limited to 'runtime/lua/vim')
0 files changed, 0 insertions, 0 deletions
