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
I install cmake-format and config cmake-language-server
cmake-format
cmake-language-server
"languageserver": { "cmake": { "command": "cmake-language-server", "filetypes": ["cmake"], "rootPatterns": [ "build/" ], "initializationOptions": { "buildDirectory": "build" } } }
It can't format CMakeLists.txt when I saved it.
The text was updated successfully, but these errors were encountered:
Saw this too and when I ran formatting_sync directly I got the following: vim.lsp.buf.formatting_sync: timeout
vim.lsp.buf.formatting_sync: timeout
Try running with a longer timeout: :lua vim.lsp.buf.formatting_sync(nil, 5000)
:lua vim.lsp.buf.formatting_sync(nil, 5000)
Sorry, something went wrong.
No branches or pull requests
I install
cmake-format
and configcmake-language-server
It can't format CMakeLists.txt when I saved it.
The text was updated successfully, but these errors were encountered: