summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-21 01:52:28 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-21 01:52:28 +0200
commit4decee788ede4175bee7bf55bc5c1a2ceefcfa62 (patch)
treeb922dcabbc2281e4e807580962cc41bc5cf0b036
parent70f697c57fb577b12648dd0a396f07462236465b (diff)
Prefer single quotes
-rw-r--r--.exrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/.exrc b/.exrc
index f67ec8e..bd2bdbc 100644
--- a/.exrc
+++ b/.exrc
@@ -2,11 +2,11 @@ set runtimepath+=contrib
" 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")
+call setenv('TEMPL_EXPERIMENT', 'rawgo')
function s:SaveExcursion(cmd)
let l:win = winsaveview()
- silent execute "keepjumps %!" .. a:cmd
+ silent execute 'keepjumps %!' .. a:cmd
call winrestview(l:win)
endfunction
@@ -17,14 +17,14 @@ autocmd BufNewFile,BufRead */cmd/mfmt/*
\ setlocal makeprg=go\ build\ ./cmd/mfmt
autocmd FileType go autocmd BufWritePre <buffer>
- \ call s:SaveExcursion("gofmt -s")
+ \ call s:SaveExcursion('gofmt -s')
autocmd FileType mintage autocmd BufWritePre <buffer>
- \ call s:SaveExcursion("./mfmt")
+ \ call s:SaveExcursion('./mfmt')
autocmd FileType templ autocmd BufWritePre <buffer>
- \ call s:SaveExcursion("templ fmt")
+ \ 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\\..*,.*_templ\\.go$'