Browse Source

lazygit

dev
Gregory Leeman 2 years ago
parent
commit
6864d55f5a
  1. 22
      after/ftplugin/text.vim
  2. 9
      spell/en.utf-8.add
  3. BIN
      spell/en.utf-8.add.spl

22
after/ftplugin/text.vim

@ -0,0 +1,22 @@
function! Indent_level(lnum)
return indent(a:lnum) / &shiftwidth
endfunction
function! Fold(lnum)
let l:c = Indent_level(a:lnum)
let l:n = Indent_level(a:lnum + 1)
let l:p = Indent_level(a:lnum - 1)
if l:n > l:c
return '>' . l:n
endif
if l:n < l:c
return '<' . l:c
endif
return l:c
endfunction
setlocal foldmethod=expr
setlocal foldexpr=Fold(v:lnum)

9
spell/en.utf-8.add

@ -1,9 +0,0 @@
(TCs)/?
VAGrENT
VCF
todoist
Covid
title:/?
title:
Todos

BIN
spell/en.utf-8.add.spl

Binary file not shown.
Loading…
Cancel
Save