diff options
author | wcsjdzz <[email protected]> | 2021-06-05 03:24:10 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-04 15:24:10 -0400 |
commit | b4446a1a2148bb2af96a20adde373451755ebbe7 (patch) | |
tree | 2113ef9cc67f93cbe5d06785d10695acb2c74e9e /lua/lsp/cmake-ls.lua | |
parent | ad26d797cc872f0aadfbb48f14929587ba06bc64 (diff) |
LSP config of cmake (#455)
Co-authored-by: zhongzedu <[email protected]>
Diffstat (limited to 'lua/lsp/cmake-ls.lua')
-rw-r--r-- | lua/lsp/cmake-ls.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/lsp/cmake-ls.lua b/lua/lsp/cmake-ls.lua new file mode 100644 index 00000000..a9647118 --- /dev/null +++ b/lua/lsp/cmake-ls.lua @@ -0,0 +1,5 @@ +require'lspconfig'.cmake.setup { + cmd = {DATA_PATH .. '/lspinstall/cmake/venv/bin/cmake-language-server'}, + on_attach = require'lsp'.common_on_attach, + filetypes = {"cmake"}, +} |