summaryrefslogtreecommitdiffhomepage
path: root/.exrc
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-11-26 00:07:20 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-11-26 00:07:20 +0100
commitc141a314f4f730d0bb30bb4d0cf8148130ce8477 (patch)
tree801de333942185a0bef4243a2f0931815594ce47 /.exrc
parent71619a5d611fd8a7820d4438fc00c199b70b0f1c (diff)
Remove references to templ
Signed-off-by: Thomas Voss <mail@thomasvoss.com>
Diffstat (limited to '.exrc')
-rw-r--r--.exrc8
1 files changed, 1 insertions, 7 deletions
diff --git a/.exrc b/.exrc
index 252d632..dca85d3 100644
--- a/.exrc
+++ b/.exrc
@@ -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