Skip to content

Commit 8528d2a

Browse files
Tom HardingMarcin Szamotulski
authored andcommitted
Add "pipe block" comment style (#58)
A common style of comment block in PureScript starts each line with `-- |`, for example: ``` -- | This is a very -- | important comment. f = id ``` This commit adds that style to the allowed list.
1 parent bd19ded commit 8528d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/purescript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
setlocal comments=s1fl:{-,mb:\ \ ,ex:-},:--
1+
setlocal comments=s1fl:{-,mb:\ \ ,ex:-},:--\ \|,:--
22
setlocal include=^import
33
setlocal includeexpr=printf('%s.purs',substitute(v:fname,'\\.','/','g'))
44

0 commit comments

Comments
 (0)