diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-11-26 00:07:20 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-11-26 00:07:20 +0100 |
commit | c141a314f4f730d0bb30bb4d0cf8148130ce8477 (patch) | |
tree | 801de333942185a0bef4243a2f0931815594ce47 | |
parent | 71619a5d611fd8a7820d4438fc00c199b70b0f1c (diff) |
Remove references to templ
Signed-off-by: Thomas Voss <mail@thomasvoss.com>
-rw-r--r-- | .exrc | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,9 +1,5 @@ set runtimepath+=contrib/vim -" We make use of this feature, so set this in the environment so that all -" Ex-calls to templ are aware of this -call setenv('TEMPL_EXPERIMENT', 'rawgo') - function s:SaveExcursion(cmd) let l:win = winsaveview() silent execute 'keepjumps %!' .. a:cmd @@ -22,11 +18,9 @@ autocmd FileType go autocmd BufWritePre <buffer> \ call s:SaveExcursion('gofmt -s') autocmd FileType mintage autocmd BufWritePre <buffer> \ call s:SaveExcursion('./mfmt') -autocmd FileType templ autocmd BufWritePre <buffer> - \ call s:SaveExcursion('templ fmt') nnoremap <silent> gM :wall \| make all-i18n<CR> nnoremap <silent> <LocalLeader>t :vimgrep /\CTODO/ **/*<CR> let &wildignore = netrw_gitignore#Hide() . ',.git/*,vendor/*' -let g:netrw_list_hide .= ',.*\\.gen\\..*,.*_templ\\.go$' +let g:netrw_list_hide .= ',.*\\.gen\\..*'
\ No newline at end of file |