2024-05-08 20:17:43 +02:00
|
|
|
" Vim filetype plugin
|
|
|
|
|
" Language: jj description
|
2026-01-01 15:14:14 +00:00
|
|
|
" Maintainer: Gregory Anders <greg@gpanders.com>
|
2024-05-08 20:17:43 +02:00
|
|
|
" Last Change: 2024 May 8
|
|
|
|
|
|
|
|
|
|
if exists('b:did_ftplugin')
|
|
|
|
|
finish
|
|
|
|
|
endif
|
|
|
|
|
let b:did_ftplugin = 1
|
|
|
|
|
|
|
|
|
|
" Use the same formatoptions and textwidth as the gitcommit ftplugin
|
|
|
|
|
setlocal nomodeline formatoptions+=tl textwidth=72
|
|
|
|
|
setlocal formatoptions-=c formatoptions-=r formatoptions-=o formatoptions-=q formatoptions+=n
|
|
|
|
|
setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}]\\s\\+\\\|^\\s*[-*+]\\s\\+
|
|
|
|
|
|
|
|
|
|
setlocal comments=b:JJ:
|
|
|
|
|
setlocal commentstring=JJ:\ %s
|
|
|
|
|
|
|
|
|
|
let b:undo_ftplugin = 'setl modeline< formatoptions< textwidth< formatlistpat< comments< commentstring<'
|