jedrzejboczar / nvim-dap-cortex-debug

Extension for nvim-dap providing integration with VS Code's cortex-debug
MIT License
35 stars 3 forks source link

fix: utils: get_platform() on macos #5

Closed bullekeup closed 11 months ago

bullekeup commented 11 months ago

Fixed vim.fn.has('macos') returns 0 on macos Sonoma, added vim.fn.has('osx') check which returns 1 as intended.

Detected using JLink Zephyr RTOS plugin, which had .so extension added in adapter.lua due to wrong os detection and thus was not found.

jedrzejboczar commented 11 months ago

Thanks!