diff options
| author | phajw <dscr@duck.com> | 2024-02-08 16:11:38 +0100 |
|---|---|---|
| committer | phajw <dscr@duck.com> | 2024-02-08 16:11:38 +0100 |
| commit | c1f17012d6467639b8b282c0b495f8678c31f1e7 (patch) | |
| tree | 2bf3e96e4682dbf781ad133f1f4da9217e0d4b26 /lua/config/editor.lua | |
| parent | 3c7a0d7f01d121be84685f71b36c48e210d24ba2 (diff) | |
| download | neovim-c1f17012d6467639b8b282c0b495f8678c31f1e7.tar.gz neovim-c1f17012d6467639b8b282c0b495f8678c31f1e7.zip | |
Update editor file
Diffstat (limited to '')
| -rw-r--r-- | lua/config/editor.lua | 2 |
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([[ | |||
| 40 | augroup RunPfOnSave | 40 | augroup RunPfOnSave |
| 41 | autocmd! | 41 | autocmd! |
| 42 | autocmd BufWritePost *.js,*.ts,*.jsx,*json,*.tsx,*.css,*.html,*.yaml,*.md silent! !prettier --write % | 42 | autocmd BufWritePost *.js,*.ts,*.jsx,*json,*.tsx,*.css,*.html,*.yaml,*.md silent! !prettier --write % |
| 43 | autocmd BufWritePost *.tex :VimtexCompile | 43 | autocmd BufWritePost *.tex silent! :VimtexCompile |
| 44 | autocmd BufWritePost *.md silent! :MarkdownPreview | 44 | autocmd BufWritePost *.md silent! :MarkdownPreview |
| 45 | autocmd BufWritePost *.php silent! !php-cs-fixer fix % | 45 | autocmd BufWritePost *.php silent! !php-cs-fixer fix % |
| 46 | augroup END | 46 | augroup END |
