mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-04 01:55:08 +02:00
LSP config of cmake (#455)
Co-authored-by: zhongzedu <duzhongze19s@ict.ac.cn>
This commit is contained in:
parent
ad26d797cc
commit
b4446a1a21
2 changed files with 6 additions and 0 deletions
5
lua/lsp/cmake-ls.lua
Normal file
5
lua/lsp/cmake-ls.lua
Normal file
|
@ -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"},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue