aboutsummaryrefslogtreecommitdiffstats
path: root/lua/config/editor.lua
diff options
context:
space:
mode:
authorphajw <dscr@duck.com>2024-02-08 16:11:38 +0100
committerphajw <dscr@duck.com>2024-02-08 16:11:38 +0100
commitc1f17012d6467639b8b282c0b495f8678c31f1e7 (patch)
tree2bf3e96e4682dbf781ad133f1f4da9217e0d4b26 /lua/config/editor.lua
parent3c7a0d7f01d121be84685f71b36c48e210d24ba2 (diff)
downloadneovim-c1f17012d6467639b8b282c0b495f8678c31f1e7.tar.gz
neovim-c1f17012d6467639b8b282c0b495f8678c31f1e7.zip
Update editor file
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 daff2ad..fba85ca 100644
--- a/lua/config/editor.lua
+++ b/lua/config/editor.lua
@@ -40,7 +40,7 @@ vim.cmd([[
40augroup RunPfOnSave 40augroup RunPfOnSave
41autocmd! 41autocmd!
42autocmd BufWritePost *.js,*.ts,*.jsx,*json,*.tsx,*.css,*.html,*.yaml,*.md silent! !prettier --write % 42autocmd BufWritePost *.js,*.ts,*.jsx,*json,*.tsx,*.css,*.html,*.yaml,*.md silent! !prettier --write %
43autocmd BufWritePost *.tex :VimtexCompile 43autocmd BufWritePost *.tex silent! :VimtexCompile
44autocmd BufWritePost *.md silent! :MarkdownPreview 44autocmd BufWritePost *.md silent! :MarkdownPreview
45autocmd BufWritePost *.php silent! !php-cs-fixer fix % 45autocmd BufWritePost *.php silent! !php-cs-fixer fix %
46augroup END 46augroup END