diff options
| author | Keith Smiley <keithbsmiley@gmail.com> | 2021-07-28 15:09:12 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-28 15:09:12 -0700 |
| commit | da43d73ba99142a77640d94b8dca72b7ee66b9b2 (patch) | |
| tree | 7d42183f48117e429c7f319bcc7146a4e65284ed /lua | |
| parent | [docgen] Update CONFIG.md (diff) | |
| download | nvim-lspconfig-da43d73ba99142a77640d94b8dca72b7ee66b9b2.tar nvim-lspconfig-da43d73ba99142a77640d94b8dca72b7ee66b9b2.tar.gz nvim-lspconfig-da43d73ba99142a77640d94b8dca72b7ee66b9b2.tar.bz2 nvim-lspconfig-da43d73ba99142a77640d94b8dca72b7ee66b9b2.tar.lz nvim-lspconfig-da43d73ba99142a77640d94b8dca72b7ee66b9b2.tar.xz nvim-lspconfig-da43d73ba99142a77640d94b8dca72b7ee66b9b2.tar.zst nvim-lspconfig-da43d73ba99142a77640d94b8dca72b7ee66b9b2.zip | |
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.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/sourcekit.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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'), }, |
