Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(codelldb): use vim.fn.exepath for command (#51)
Mason.nvim utilizes symlinks to organize package files. On Windows symlink support is complicated and so mason chooses to use .cmd script files to simplify things. Setting "command" to "codelldb" will only look for files with the name "codelldb", i.e. it will not find "codelldb.cmd". This commit changes "command" to use vim.fn.exepath() which seems to find any executable file with an equivalent stem. This means it will find both files "codelldb" and "codelldb.cmd".
- Loading branch information