"function! GetCompDB()
"    exec CMakeCompDB()
"endfunc
"let FnCMakeCompDB = function("GetCompDB")
"let funccmakecompdb = string(FnCMakeCompDB)
"let RunCMakeCompDB = function('GetCompDB')
"   let self.fn = function("GetCompDB")
"function cmake.run() dict
"   let self.fn = FnCMakeCompDB
"endfunction
"let g:neomake_cmakecompdb_maker = {
"    \ 'exe': string(FnCMakeCompDB),
"    \ 'args': [''] 
"    \ }
noremap <unique> <Plug>GenerateCompDB :exec CMakeCompDB()<CR>
function! CMakeTargets()
    echo "Get CMake Targets"
endfunction

"function! GetCompDB()
"    exec CMakeCompDB()
"endfunc
"let FnCMakeCompDB = function("GetCompDB")
"let funccmakecompdb = string(FnCMakeCompDB)
"let RunCMakeCompDB = function('GetCompDB')
"   let self.fn = function("GetCompDB")
"function cmake.run() dict
"   let self.fn = FnCMakeCompDB
"endfunction
"let g:neomake_cmakecompdb_maker = {
"    \ 'exe': string(FnCMakeCompDB),
"    \ 'args': [''] 
"    \ }
nmap <unique> <Plug>GenerateCompDB :exec CMakeCompDB()<CR>
function! CMakeTargets()
    echo "Get CMake Targets"
endfunction

Fix command mapping for plugin.
Fix command mapping for plugin.

phillipbonhomme/cmake.nvim,phillipbonhomme/cmake.nvim