mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
vim-patch:c3f48e3: runtime(abnf): include ABNF filetype plugin
closes: vim/vim#17239
c3f48e3a76
Co-authored-by: A4-Tacks <wdsjxhno1001@163.com>
This commit is contained in:

committed by
Christian Clason

parent
53b41ec7c2
commit
8d6f016345
17
runtime/ftplugin/abnf.vim
Normal file
17
runtime/ftplugin/abnf.vim
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
" Language: abnf
|
||||||
|
" Maintainer: A4-Tacks <wdsjxhno1001@163.com>
|
||||||
|
" Last Change: 2025-05-02
|
||||||
|
" Upstream: https://github.com/A4-Tacks/abnf.vim
|
||||||
|
|
||||||
|
if exists('b:did_ftplugin')
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
let b:did_ftplugin = 1
|
||||||
|
|
||||||
|
let b:undo_ftplugin = 'setlocal iskeyword< comments< commentstring<'
|
||||||
|
|
||||||
|
setlocal iskeyword=@,48-57,_,-,192-255
|
||||||
|
setlocal comments=:;;,:;
|
||||||
|
setlocal commentstring=;%s
|
||||||
|
|
||||||
|
" vim:ts=8
|
Reference in New Issue
Block a user