From 6c2fb86c6a03e20abea5ddd17d735885f0b7cb5e Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Wed, 24 Nov 2021 23:01:07 -0500 Subject: feat: expose configs --- lua/lspconfig/cmake.lua | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 lua/lspconfig/cmake.lua (limited to 'lua/lspconfig/cmake.lua') diff --git a/lua/lspconfig/cmake.lua b/lua/lspconfig/cmake.lua deleted file mode 100644 index 9592dec2..00000000 --- a/lua/lspconfig/cmake.lua +++ /dev/null @@ -1,24 +0,0 @@ -local configs = require 'lspconfig/configs' -local util = require 'lspconfig/util' - -configs.cmake = { - default_config = { - cmd = { 'cmake-language-server' }, - filetypes = { 'cmake' }, - root_dir = util.root_pattern('.git', 'compile_commands.json', 'build'), - single_file_support = true, - init_options = { - buildDirectory = 'build', - }, - }, - docs = { - description = [[ -https://github.com/regen100/cmake-language-server - -CMake LSP Implementation -]], - default_config = { - root_dir = [[root_pattern(".git", "compile_commands.json", "build") or dirname]], - }, - }, -} -- cgit v1.2.3-70-g09d2