# java has to be less than jdk 19$brewinstallopenjdk@17$exportJAVA_HOME='/usr/local/opt/openjdk@17'$exportPATH=${JAVA_HOME}/bin:${PATH}$exportCPPFLAGS="-I${JAVA_HOME}/include ${CPPFLAGS}"$gitclonegit@github.com:GroovyLanguageServer/groovy-language-server.git$./gradewbuild# run$git@github.com:GroovyLanguageServer/groovy-language-server.git
require('cmp_nvim_lsp').default_capabilitiesrequire'cmp'.setup { sources = { { name ='nvim_lsp' } }}-- The nvim-cmp almost supports LSP's capabilities so You should advertise it to LSP servers..local capabilities =require('cmp_nvim_lsp').default_capabilities()-- An example for configuring `clangd` LSP to use nvim-cmp as a completion enginerequire('lspconfig').clangd.setup { capabilities = capabilities,...-- other lspconfig configs}