Change git and revert editor auto format.
This commit is contained in:
parent
2486fb91e5
commit
5ad6164cff
2 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ local function on_attach(client, buffer)
|
|||
vim.keymap.set('n', 'gr', vim.lsp.buf.references, opts)
|
||||
vim.keymap.set('n', '<leader>f', function() vim.lsp.buf.format { async = true } end, opts)
|
||||
|
||||
vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.format({ async = false })]]
|
||||
-- vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.format({ async = false })]]
|
||||
|
||||
if client.server_capabilities.documentHighlightProvider then
|
||||
autocmd_clear { group = augroup_highlight, buffer = buffer }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue