diff options
author | Rafael <[email protected]> | 2021-07-05 20:01:19 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-05 16:01:19 -0400 |
commit | 71c5cb4f0be89d3a175e99b0c2ebc5e55178e8a9 (patch) | |
tree | 941ed16b7e2f84ec45ce9b2c4a3d6d638cf584a7 /ftplugin/c.lua | |
parent | 9d399314d4ef9b05df738dda016ea52ec2e85823 (diff) |
(feat) use neoformat as the defalt format option (#715)
Diffstat (limited to 'ftplugin/c.lua')
-rw-r--r-- | ftplugin/c.lua | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ftplugin/c.lua b/ftplugin/c.lua index ef371c03..7443cabe 100644 --- a/ftplugin/c.lua +++ b/ftplugin/c.lua @@ -18,14 +18,3 @@ require("lspconfig").clangd.setup { }), }, } - -if O.lang.clang.autoformat then - require("lv-utils").define_augroups { - _clang_autoformat = { - { "BufWritePre *.c lua vim.lsp.buf.formatting_sync(nil,1000)" }, - { "BufWritePre *.h lua vim.lsp.buf.formatting_sync(nil,1000)" }, - { "BufWritePre *.cpp lua vim.lsp.buf.formatting_sync(nil,1000)" }, - { "BufWritePre *.hpp lua vim.lsp.buf.formatting_sync(nil,1000)" }, - }, - } -end |