add chat-gpt and keybindings

This commit is contained in:
2023-02-16 10:26:53 -08:00
parent 76c6d58af4
commit 49a154aa32
3 changed files with 69 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ require("null-ls").setup({
vim.cmd([[
augroup LspFormatting
autocmd! * <buffer>
autocmd BufWritePre <buffer> lua vim.lsp.buf.formatting_sync()
autocmd BufWritePre <buffer> lua vim.lsp.buf.format()
augroup END
]])
end