misc updates.
This commit is contained in:
@@ -5,6 +5,12 @@ for _, server in ipairs({ 'ts_ls', 'basedpyright', 'gopls', 'zls', 'clangd', 'ru
|
||||
vim.lsp.enable(server)
|
||||
end
|
||||
|
||||
-- Bare-metal cross-compile: clangd won't execute an unlisted driver,
|
||||
-- so allowlist the Arm one to get its newlib/ARM system include paths.
|
||||
vim.lsp.config('clangd', {
|
||||
cmd = { 'clangd', '--query-driver=**/arm-none-eabi-*' },
|
||||
})
|
||||
|
||||
vim.lsp.config('lua_ls', {
|
||||
capabilities = capabilities,
|
||||
on_init = function(client)
|
||||
|
||||
Reference in New Issue
Block a user