From da43d73ba99142a77640d94b8dca72b7ee66b9b2 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Wed, 28 Jul 2021 15:09:12 -0700 Subject: chore: remove xcrun from sourcekit-lsp cmd (#1112) With recent versions of macOS + Xcode sourcekit-lsp is now in /usr/bin, so running it with `xcrun` is no longer necessary. This also enables this configuration to work on Linux. --- lua/lspconfig/sourcekit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/lspconfig/sourcekit.lua') diff --git a/lua/lspconfig/sourcekit.lua b/lua/lspconfig/sourcekit.lua index 6b01361e..c9ce2e32 100644 --- a/lua/lspconfig/sourcekit.lua +++ b/lua/lspconfig/sourcekit.lua @@ -3,7 +3,7 @@ local util = require 'lspconfig/util' configs.sourcekit = { default_config = { - cmd = { 'xcrun', 'sourcekit-lsp' }, + cmd = { 'sourcekit-lsp' }, filetypes = { 'swift', 'c', 'cpp', 'objective-c', 'objective-cpp' }, root_dir = util.root_pattern('Package.swift', '.git'), }, -- cgit v1.2.3-70-g09d2