Regenerate nvim config
This commit is contained in:
@ -0,0 +1,18 @@
|
||||
if &compatible || exists('b:did_sandwich_initex_ftplugin') || get(g:, 'sandwich_no_initex_ftplugin', 0)
|
||||
finish
|
||||
endif
|
||||
|
||||
runtime macros/sandwich/ftplugin/tex.vim
|
||||
|
||||
augroup sandwich-event-FileType
|
||||
autocmd!
|
||||
execute 'autocmd FileType initex source ' . fnameescape(expand('<sfile>'))
|
||||
augroup END
|
||||
|
||||
let b:did_sandwich_initex_ftplugin = 1
|
||||
if !exists('b:undo_ftplugin')
|
||||
let b:undo_ftplugin = ''
|
||||
else
|
||||
let b:undo_ftplugin .= ' | '
|
||||
endif
|
||||
let b:undo_ftplugin .= 'unlet b:did_sandwich_initex_ftplugin | call sandwich#util#ftrevert("tex")'
|
||||
@ -0,0 +1,21 @@
|
||||
if &compatible || exists('b:did_sandwich_julia_ftplugin') || get(g:, 'sandwich_no_julia_ftplugin', 0)
|
||||
finish
|
||||
endif
|
||||
|
||||
" To include multibyte characters
|
||||
let b:sandwich_magicchar_f_patterns = [
|
||||
\ {
|
||||
\ 'header' : '\%#=2\<[[:upper:][:lower:]_]\k*!\?',
|
||||
\ 'bra' : '(',
|
||||
\ 'ket' : ')',
|
||||
\ 'footer' : '',
|
||||
\ },
|
||||
\ ]
|
||||
|
||||
let b:did_sandwich_julia_ftplugin = 1
|
||||
if !exists('b:undo_ftplugin')
|
||||
let b:undo_ftplugin = ''
|
||||
else
|
||||
let b:undo_ftplugin .= ' | '
|
||||
endif
|
||||
let b:undo_ftplugin .= 'unlet! b:did_sandwich_julia_ftplugin b:sandwich_magicchar_f_patterns'
|
||||
@ -0,0 +1,18 @@
|
||||
if &compatible || exists('b:did_sandwich_plaintex_ftplugin') || get(g:, 'sandwich_no_plaintex_ftplugin', 0)
|
||||
finish
|
||||
endif
|
||||
|
||||
runtime macros/sandwich/ftplugin/tex.vim
|
||||
|
||||
augroup sandwich-event-FileType
|
||||
autocmd!
|
||||
execute 'autocmd FileType plaintex source ' . fnameescape(expand('<sfile>'))
|
||||
augroup END
|
||||
|
||||
let b:did_sandwich_plaintex_ftplugin = 1
|
||||
if !exists('b:undo_ftplugin')
|
||||
let b:undo_ftplugin = ''
|
||||
else
|
||||
let b:undo_ftplugin .= ' | '
|
||||
endif
|
||||
let b:undo_ftplugin .= 'unlet b:did_sandwich_plaintex_ftplugin | call sandwich#util#ftrevert("tex")'
|
||||
@ -0,0 +1,18 @@
|
||||
if &compatible || exists('b:did_sandwich_tex_ftplugin') || get(g:, 'sandwich_no_tex_ftplugin', 0)
|
||||
finish
|
||||
endif
|
||||
|
||||
runtime macros/sandwich/ftplugin/tex.vim
|
||||
|
||||
augroup sandwich-event-FileType
|
||||
autocmd!
|
||||
execute 'autocmd FileType tex source ' . fnameescape(expand('<sfile>'))
|
||||
augroup END
|
||||
|
||||
let b:did_sandwich_tex_ftplugin = 1
|
||||
if !exists('b:undo_ftplugin')
|
||||
let b:undo_ftplugin = ''
|
||||
else
|
||||
let b:undo_ftplugin .= ' | '
|
||||
endif
|
||||
let b:undo_ftplugin .= 'unlet b:did_sandwich_tex_ftplugin | call sandwich#util#ftrevert("tex")'
|
||||
@ -0,0 +1,20 @@
|
||||
if &compatible || exists('b:did_sandwich_vim_ftplugin') || get(g:, 'sandwich_no_vim_ftplugin', 0)
|
||||
finish
|
||||
endif
|
||||
|
||||
let b:sandwich_magicchar_f_patterns = [
|
||||
\ {
|
||||
\ 'header' : '\C\<\%(\h\|[sa]:\h\|g:[A-Z]\)\k*',
|
||||
\ 'bra' : '(',
|
||||
\ 'ket' : ')',
|
||||
\ 'footer' : '',
|
||||
\ },
|
||||
\ ]
|
||||
|
||||
let b:did_sandwich_vim_ftplugin = 1
|
||||
if !exists('b:undo_ftplugin')
|
||||
let b:undo_ftplugin = ''
|
||||
else
|
||||
let b:undo_ftplugin .= ' | '
|
||||
endif
|
||||
let b:undo_ftplugin .= 'unlet! b:did_sandwich_vim_ftplugin b:sandwich_magicchar_f_patterns'
|
||||
Reference in New Issue
Block a user