summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin/j.vim
blob: 4680e7e35c0001de9cabd47c4ae970128eb4332a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
" Vim filetype plugin
" Language:	J
" Maintainer:	David Bürgin <676c7473@gmail.com>
" Last Change:	2013-10-06

if exists("b:did_ftplugin")
  finish
endif
let b:did_ftplugin = 1

setlocal iskeyword=48-57,65-90,_,97-122
setlocal comments=:NB.
setlocal commentstring=NB.\ %s
setlocal formatoptions-=t
setlocal shiftwidth=2 softtabstop=2 expandtab
setlocal matchpairs=(:)

let b:undo_ftplugin = "setl mps< et< sts< sw< fo< cms< com< isk<"