This commit is contained in:
ManjaroOne666 2018-05-08 22:28:12 +01:00
parent fe2b02ea89
commit 1adc1a48b2
2 changed files with 5 additions and 3 deletions

View File

@ -123,7 +123,8 @@ inoremap ;; ;<esc>
"}}} "}}}
" #abbreviations{{{ " #abbreviations
"{{{
iabbrev adn and iabbrev adn and
iabbrev waht what iabbrev waht what
iabbrev tehn then iabbrev tehn then

View File

@ -95,8 +95,8 @@ function! MyFoldText()
let l:line = getline(v:foldstart) let l:line = getline(v:foldstart)
let l:prefix = '|+' . l:linecount . v:folddashes . '| ' let l:prefix = '|+' . l:linecount . v:folddashes . '| '
let l:subexp = '^ \{,' . len(l:prefix) . '}' let l:subexp = '^ \{,' . len(l:prefix) . '}'
let l:foldtext = substitute(l:line, l:subexp, l:prefix, '') let l:foldtext = substitute(l:line, l:subexp, l:prefix, '')
let l:foldtext = substitute(l:foldtext, '"{{{', '', '') let l:foldtext = substitute(l:foldtext, '"{{{', '', '')
@ -105,7 +105,8 @@ endfunction
"}}} "}}}
function! CheckLineEnding() abort function! CheckLineEnding() abort
:normal $"{{{ "{{{
:normal $
if getline('.')[col('.')-1] == ';' || getline('.')[col('.')-1] == ',' if getline('.')[col('.')-1] == ';' || getline('.')[col('.')-1] == ','
:startinsert :startinsert
else else