mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-21 08:35:48 +02:00
add: alternative disable config format on save
This commit is contained in:
parent
4392eb6d59
commit
b28f354786
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ if pcode.active_cpp_config then
|
|||
opts.formatters_by_ft.cpp = { "clang-format" }
|
||||
if psave == 1 then
|
||||
opts.format_on_save = {
|
||||
timeout_ms = 500,
|
||||
timeout_ms = pcode.format_timeout_ms or 500,
|
||||
lsp_fallback = true,
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue