summaryrefslogtreecommitdiffhomepage
path: root/.exrc
diff options
context:
space:
mode:
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