commit 1e58079ed842b5bf4b431965b39e5de501311785
parent 70ea39d3527f26be4604ee81936d0fc0276140af
Author: William Casarin <jb55@jb55.com>
Date: Mon, 28 Jun 2021 07:22:10 -0700
vim: js config
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
@@ -24,5 +24,6 @@ autocmd FileType go autocmd BufWritePre <buffer> execute "normal! mz:mkview\<esc
autocmd FileType rust autocmd BufWritePre <buffer> execute "normal! mz:mkview\<esc>:%!fmtsafe rustfmt\<esc>:loadview\<esc>`z"
autocmd filetype javascript set sw=2 ts=2 expandtab
+autocmd filetype javascript set sw=2 ts=2 expandtab
autocmd BufEnter,BufNew *.gmi set wrap linebreak
au BufWritePost,FileWritePost ~/.Xdefaults,~/.Xresources silent! !xrdb -load % >/dev/null 2>&1