Skip to content

how to disable FormatOnSave permanently? #347

@goodpaperman

Description

@goodpaperman

Neovim version

NVIM v0.8.1 Build type: RelWithDebInfo LuaJIT 2.1.0-beta3

Operating system/version

CentOS Linux release 7.9.2009 (Core)

Terminal name/version

mac term

$TERM environment variable

xterm-256color

Branch info

main (Default/Latest)

Fetch Preferences

SSH (use_ssh = true)

Affected language servers

clang-format

How to reproduce the issue

:w save file,code auto formatted

Actual behavior

code formatted

Expected behavior

not format

Support info

:LspInfo
图片

:Mason
图片

Logs

no logs find in given path

Additional information

using FormatToggle can disable this, but sometime forget to set this, can I disable this feature in config file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    usageUser-specific issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions