codekingpro/portable-devtools
114k
1" Vim filetype plugin2" Language: jj description3" Maintainer: Gregory Anders <greg@gpanders.com>4" Last Change: 2024 May 85 6if exists('b:did_ftplugin')7 finish8endif9let b:did_ftplugin = 110 11" Use the same formatoptions and textwidth as the gitcommit ftplugin12setlocal nomodeline formatoptions+=tl textwidth=7213setlocal formatoptions-=c formatoptions-=r formatoptions-=o formatoptions-=q formatoptions+=n14setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}]\\s\\+\\\|^\\s*[-*+]\\s\\+15 16setlocal comments=b:JJ:17setlocal commentstring=JJ:\ %s18 19let b:undo_ftplugin = 'setl modeline< formatoptions< textwidth< formatlistpat< comments< commentstring<'20 