diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-13 23:25:44 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-01-13 23:25:44 +0100 |
commit | 9d4d8779af0acab902f0b1c1e26c9c2d9ee32283 (patch) | |
tree | 0b7e1ca19c413912088d23fb606fa3c437dc2605 | |
parent | c54d55bd47db65892c34851d2d3e08630efa00ff (diff) |
Fix format on save
-rw-r--r-- | lua/config/autocommands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/config/autocommands.lua b/lua/config/autocommands.lua index a6038d2..010a48f 100644 --- a/lua/config/autocommands.lua +++ b/lua/config/autocommands.lua @@ -26,7 +26,7 @@ vim.cmd([[ autocmd! autocmd User AlphaReady set showtabline=0 | autocmd BufUnload <buffer> set showtabline=2 augroup end - Autoformat + augroup _lsp autocmd! autocmd BufWritePre * lua vim.lsp.buf.formatting() |