blob: f45a55e74cfe20127b5dc7a1c943e8d80f5d99da [file] [log] [blame]
Adrià Vilanova Martínez60b712e2024-01-30 01:49:53 +01001" jjdescription filetype plugin
2" Language: jjdescription file
3" Maintainer: Adrià Vilanova <me@avm99963.com>
4" Source: Based on ftplugin/gitcommit.vim
5" Last Change: 2024 Jan 30
6
7" Only do this when not done yet for this buffer
8if (exists("b:did_ftplugin"))
9 finish
10endif
11
12let b:did_ftplugin = 1
13
14setlocal nomodeline tabstop=8 formatoptions+=tl textwidth=72
15setlocal formatoptions-=c formatoptions-=r formatoptions-=o formatoptions-=q formatoptions+=n
16setlocal formatlistpat=^\\s*\\d\\+[\\]:.)}]\\s\\+\\\|^\\s*[-*+]\\s\\+
17
18let b:undo_ftplugin = 'setl modeline< tabstop< formatoptions< tw< com< cms< formatlistpat<'
19
20let &l:comments = ':JJ: '
21let &l:commentstring = 'JJ: %s'