Skip to content

Commit

Permalink
Indent: Remove 'in'
Browse files Browse the repository at this point in the history
  • Loading branch information
andys8 committed Feb 10, 2021
1 parent fada016 commit 52a9405
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions indent/purescript.vim
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,6 @@ function! GetPurescriptIndent()
return max([s, &l:shiftwidth])
endif

if line =~ '^\s*\<in\>'
let n = v:lnum
let s = 0

while s <= 0 && n > 0
let n = n - 1
let s = match(getline(n), '\<let\>')
if s >= 0 && index(s:GetSynStack(v:lnum - 1, s), 'purescriptString') != -1
let s = -1
endif
endwhile

return s + g:purescript_indent_in
endif

let s = match(prevline, '^\s*\zs\(--\|import\)')
if s >= 0
" comments
Expand Down

0 comments on commit 52a9405

Please sign in to comment.