fix: autocmd
This commit is contained in:
parent
65ce07d29c
commit
8075cb262d
1 changed files with 3 additions and 3 deletions
|
@ -30,10 +30,10 @@ end
|
|||
|
||||
-- format current buffer w/user settings
|
||||
function M.format(bufnr, timeout)
|
||||
if timeout ~= '' then
|
||||
timeout = timeout * 1000
|
||||
else
|
||||
if timeout == '' or timeout == nil then
|
||||
timeout = user_config.lsp.format_timeout
|
||||
else
|
||||
timeout = timeout * 1000
|
||||
end
|
||||
timeout = user_config.lsp.format_timeout
|
||||
local filter = can_client_format
|
||||
|
|
Loading…
Add table
Reference in a new issue