diff --git a/src/conf/external_tools/lsp_servers/sourcekit.ts b/src/conf/external_tools/lsp_servers/sourcekit.ts index 422d693d..f450e2b5 100644 --- a/src/conf/external_tools/lsp_servers/sourcekit.ts +++ b/src/conf/external_tools/lsp_servers/sourcekit.ts @@ -9,7 +9,10 @@ export const server = new LspServer({ capabilities: LuaTable ) => { luaRequire("lspconfig").sourcekit.setup({ - cmd: ["xcrun", "--toolchain", "swift", "sourcekit-lsp"], + // cmd: ["xcrun", "--toolchain", "swift", "sourcekit-lsp"], + cmd: [ + "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/sourcekit-lsp", + ], filetypes: ["swift", "objective-c", "objective-cpp"], on_attach: on_attach, capabilities: capabilities, diff --git a/src/conf/plugins/other/rest-nvim.ts b/src/conf/plugins/other/rest-nvim.ts index f6f1a274..b91adf19 100644 --- a/src/conf/plugins/other/rest-nvim.ts +++ b/src/conf/plugins/other/rest-nvim.ts @@ -45,6 +45,7 @@ const spec: PluginOptsBase = { skip_ssl_verification: true, }, ft: ["http"], + cmd: ["RestNvim", "RestNvimPreview", "RestNvimLast"], lazy: true, dependencies: ["nvim-lua/plenary.nvim"], config: (_, opts) => {