nvim: Start formatter on insertion mode
In addition to just before writing a buffer, we load the formatter plugin when entering insertion mode.
This commit is contained in:
parent
44d76725cc
commit
d6ef9acb1c
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ return {
|
|||
end,
|
||||
},
|
||||
},
|
||||
event = { "BufWritePre" },
|
||||
event = { "InsertEnter", "BufWritePre" },
|
||||
opts = {},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue