big changes
This commit is contained in:
@@ -17,7 +17,7 @@ return { -- Autoformat
|
||||
-- Disable "format_on_save lsp_fallback" for languages that don't
|
||||
-- have a well standardized coding style. You can add additional
|
||||
-- languages here or re-enable it for the disabled ones.
|
||||
local disable_filetypes = { c = true, cpp = true, typescript = true }
|
||||
local disable_filetypes = { cpp = true, typescript = true }
|
||||
return {
|
||||
timeout_ms = 500,
|
||||
lsp_fallback = not disable_filetypes[vim.bo[bufnr].filetype],
|
||||
|
||||
Reference in New Issue
Block a user