We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
这个功能可以实现的,我研究下
Sorry, something went wrong.
vim.api.nvim_create_autocmd("InsertLeave", { callback = function() print("me called") vim.lsp.buf.format() end })
我写了个在从 insert mode 离开地做这个事的. 现在差判断这个事件
研究了下, 似乎不容易,测试了好几种方法,都没有成功。
Martins3
No branches or pull requests
希望在写 c++ 时可以自动格式化, 而不是每次按快捷键, 或者在保存时自动格式化也行, 最好的时机感觉是在按下回车换行的时候
可以少按好多次键盘
应该是加个什么配置就好, 不太会
The text was updated successfully, but these errors were encountered: