Extend TYPO3 content blocks setup
This commit is contained in:
parent
4cd828f51f
commit
dbf00d1dfa
|
@ -1,5 +1,5 @@
|
||||||
setlocal tabstop=2 " the visible width of tabs
|
setlocal tabstop=4 " the visible width of tabs
|
||||||
setlocal softtabstop=2 " edit as if the tabs are 2 characters wide
|
setlocal softtabstop=4 " edit as if the tabs are 2 characters wide
|
||||||
setlocal shiftwidth=2 " number of spaces to use for indent and unindent
|
setlocal shiftwidth=4 " number of spaces to use for indent and unindent
|
||||||
|
|
||||||
setlocal omnifunc=v:lua.vim.lsp.omnifunc
|
setlocal omnifunc=v:lua.vim.lsp.omnifunc
|
||||||
|
|
|
@ -11,8 +11,8 @@ augroup typo3
|
||||||
autocmd BufWritePost **/Configuration/RequestMiddlewares.php :silent !rm */**/cache/**/middlewares_*
|
autocmd BufWritePost **/Configuration/RequestMiddlewares.php :silent !rm */**/cache/**/middlewares_*
|
||||||
autocmd BufWritePost **/Configuration/Services.yaml,**/Configuration/Services/*.yaml,**/Configuration/Services.php :silent !rm */**/cache/**/DependencyInjectionContainer_*
|
autocmd BufWritePost **/Configuration/Services.yaml,**/Configuration/Services/*.yaml,**/Configuration/Services.php :silent !rm */**/cache/**/DependencyInjectionContainer_*
|
||||||
autocmd BufWritePost **/Configuration/TCA/** :silent !rm */**/cache*/**/tca_base_*
|
autocmd BufWritePost **/Configuration/TCA/** :silent !rm */**/cache*/**/tca_base_*
|
||||||
autocmd BufWritePost **/ContentBlocks/ContentElements/* :silent !rm **/var/cache/code/core/content-blocks.php
|
autocmd BufWritePost **/ContentBlocks/* :silent !rm **/var/cache/code/core/content-blocks.php
|
||||||
autocmd BufWritePost **/ContentBlocks/ContentElements/* :silent !rm */**/cache*/**/tca_base_*
|
autocmd BufWritePost **/ContentBlocks/* :silent !rm */**/cache*/**/tca_base_*
|
||||||
autocmd BufWritePost **/Domain/Model/*.php :silent !rm */**/cache/data/extbase/*
|
autocmd BufWritePost **/Domain/Model/*.php :silent !rm */**/cache/data/extbase/*
|
||||||
autocmd BufWritePost **/ext_localconf.php :silent !rm */**/cache*/**/ext_localconf_*
|
autocmd BufWritePost **/ext_localconf.php :silent !rm */**/cache*/**/ext_localconf_*
|
||||||
autocmd BufWritePost **/ext_tables.php :silent !rm */**/cache*/**/ext_tables_*
|
autocmd BufWritePost **/ext_tables.php :silent !rm */**/cache*/**/ext_tables_*
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
au BufNewFile,BufRead **/ContentBlocks/**/*.html setlocal filetype=fluid
|
||||||
au BufNewFile,BufRead **/Resources/Private/**/*.html setlocal filetype=fluid
|
au BufNewFile,BufRead **/Resources/Private/**/*.html setlocal filetype=fluid
|
||||||
au BufNewFile,BufRead **/Resources/Private/Partials/** setlocal filetype=fluid
|
au BufNewFile,BufRead **/Resources/Private/Partials/** setlocal filetype=fluid
|
||||||
au BufNewFile,BufRead **/Resources/Private/Layouts/** setlocal filetype=fluid
|
au BufNewFile,BufRead **/Resources/Private/Layouts/** setlocal filetype=fluid
|
||||||
|
|
Loading…
Reference in a new issue