cmake lsp

This commit is contained in:
doyle 2022-06-20 11:51:31 +10:00
parent d8d50d8d12
commit 0ccac70bda
2 changed files with 6 additions and 1 deletions

View File

@ -128,6 +128,11 @@ lua <<EOF
single_file_support = false, --- Don't launch LSP if the directory does not have LSP metadata single_file_support = false, --- Don't launch LSP if the directory does not have LSP metadata
} }
lspconfig.cmake.setup {
on_attach = custom_on_attach,
capabilities = custom_capabilities,
}
-- Autocomplete Setup -- Autocomplete Setup
-- =========================================================================== -- ===========================================================================
local luasnip = require 'luasnip' local luasnip = require 'luasnip'

View File

@ -667,7 +667,7 @@ call :DownloadFile "https://raw.githubusercontent.com/junegunn/vim-plug/master/p
REM Install Python NVIM module, for :py3 support REM Install Python NVIM module, for :py3 support
set PYTHONHOME=!python_bin_dir! set PYTHONHOME=!python_bin_dir!
!python_bin_dir!\Scripts\pip.exe install pynvim !python_bin_dir!\Scripts\pip.exe install pynvim cmake-language-server
REM ---------------------------------------------------------------------------- REM ----------------------------------------------------------------------------
REM ImHex REM ImHex