summaryrefslogtreecommitdiffhomepage
path: root/.exrc
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-08 01:20:42 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-08 01:20:42 +0200
commit9e1df9743d3e858f42ea8e9373eb3bcbd6547321 (patch)
tree64c61f6539bc4501ad6f9f4bc47d3d539b2e6b32 /.exrc
parent61b442c98a7a36bf4fa717f20cd9860971cced7c (diff)
Prefer double quotes
Diffstat (limited to '.exrc')
-rw-r--r--.exrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/.exrc b/.exrc
index 2de0b63..db66b5f 100644
--- a/.exrc
+++ b/.exrc
@@ -1,6 +1,6 @@
function s:SaveExcursion(cmd)
let l:win = winsaveview()
- execute '%!' .. a:cmd
+ execute "%!" .. a:cmd
call winrestview(l:win)
endfunction
@@ -9,4 +9,4 @@ autocmd BufWritePre *.go
autocmd BufWritePre *.templ
\ call s:SaveExcursion("templ fmt | sed 's/{ {/{{/; s/} }/}}/'")
-let g:netrw_list_hide .= ',.*_templ.go$'
+let g:netrw_list_hide .= ",.*_templ.go$"