aboutsummaryrefslogtreecommitdiffstats
path: root/lua/config/editor.lua
diff options
context:
space:
mode:
authorphajw <dscr@duck.com>2023-10-13 06:10:55 -0400
committerphajw <dscr@duck.com>2023-10-13 06:10:55 -0400
commit377a7996fd1560d545ed868f02ee19863891ab2e (patch)
treeb7e3a6df2c9cf3b49a1403d9131c58a0c7f32be9 /lua/config/editor.lua
parent393de773ffd570e7d22c06eb979a7b080e2ca23d (diff)
downloadneovim-377a7996fd1560d545ed868f02ee19863891ab2e.tar.gz
neovim-377a7996fd1560d545ed868f02ee19863891ab2e.zip
Optimize js and ts formatting
Diffstat (limited to 'lua/config/editor.lua')
-rw-r--r--lua/config/editor.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/config/editor.lua b/lua/config/editor.lua
index 145d175..a9ffc15 100644
--- a/lua/config/editor.lua
+++ b/lua/config/editor.lua
@@ -43,7 +43,7 @@ vim.cmd([[
43vim.cmd([[ 43vim.cmd([[
44 augroup RunPfOnSave 44 augroup RunPfOnSave
45 autocmd! 45 autocmd!
46 autocmd BufWritePost *.js,*.ts,*.jsx,*json !prettier --write . 46 autocmd BufWritePost *.js,*.ts,*.jsx,*json !prettier --write %
47 autocmd BufWritePost *.tex :VimtexCompile 47 autocmd BufWritePost *.tex :VimtexCompile
48 autocmd BufWritePost *.md :MarkdownPreview 48 autocmd BufWritePost *.md :MarkdownPreview
49 augroup END 49 augroup END