Update autocommands.lua

pull/197/head
REmerald 2 years ago committed by GitHub
parent ca3bee84bc
commit 5f1d45e57b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -49,7 +49,7 @@ vim.api.nvim_create_autocmd(
) )
-- Autoformat -- Autoformat
local au_lsp = vim.api.nvim_create_augroup("_lsp", {clear = true}) local au_lsp = vim.api.nvim_create_augroup("_lsp", {clear = true}) -- don't comment out
-- vim.api.nvim_create_autocmd( -- vim.api.nvim_create_autocmd(
-- "BufWritePre", {group = au_lsp, command = "lua vim.lsp.buf.formatting()"} -- "BufWritePre", {group = au_lsp, command = "lua vim.lsp.buf.formatting()"}
-- ) -- )

Loading…
Cancel
Save