diff --git a/doc/server_configurations.md b/doc/server_configurations.md index 7380884160..a5ca08f456 100644 --- a/doc/server_configurations.md +++ b/doc/server_configurations.md @@ -890,7 +890,7 @@ require'lspconfig'.cmake.setup{} ``` - `root_dir` : ```lua - root_pattern(".git", "compile_commands.json", "build") + root_pattern('CMakePresets.json', 'CTestConfig.cmake', '.git', 'build', 'cmake') ``` - `single_file_support` : ```lua diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt index 7380884160..a5ca08f456 100644 --- a/doc/server_configurations.txt +++ b/doc/server_configurations.txt @@ -890,7 +890,7 @@ require'lspconfig'.cmake.setup{} ``` - `root_dir` : ```lua - root_pattern(".git", "compile_commands.json", "build") + root_pattern('CMakePresets.json', 'CTestConfig.cmake', '.git', 'build', 'cmake') ``` - `single_file_support` : ```lua