This commit is contained in:
Adam Stankiewicz
2020-04-14 13:17:26 +02:00
parent e86e0ad36e
commit 14dc82fc4e
58 changed files with 1505 additions and 666 deletions

View File

@@ -5,6 +5,11 @@ if exists('b:did_ftplugin')
endif
let b:did_ftplugin = 1
" This file is loaded on 'ecrystal' filetype
if &filetype !=# 'crystal'
finish
endif
let s:save_cpo = &cpo
set cpo&vim
@@ -76,6 +81,11 @@ if &l:ofu ==# ''
setlocal omnifunc=crystal_lang#complete
endif
if exists('AutoPairsLoaded')
let b:AutoPairs = { '{%': '%}' }
call extend(b:AutoPairs, g:AutoPairs, 'force')
endif
let &cpo = s:save_cpo
unlet s:save_cpo