aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/sourcekit.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-07-03 15:55:59 -0700
committerGitHub <noreply@github.com>2021-07-03 15:55:59 -0700
commite1160be89ae6a3ece4664c8e32a82b8637f4b177 (patch)
tree77d533dc9606ca7e9b30d1a96baebf3de325d2a8 /lua/lspconfig/sourcekit.lua
parent[docgen] Update CONFIG.md (diff)
parentci: lint and format with stylua (diff)
downloadnvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar
nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.gz
nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.bz2
nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.lz
nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.xz
nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.tar.zst
nvim-lspconfig-e1160be89ae6a3ece4664c8e32a82b8637f4b177.zip
Merge pull request #1029 from mjlbach/ci/format_with_stylua
ci: lint and format with stylua
Diffstat (limited to 'lua/lspconfig/sourcekit.lua')
-rw-r--r--lua/lspconfig/sourcekit.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/lua/lspconfig/sourcekit.lua b/lua/lspconfig/sourcekit.lua
index 85714311..7fb6e80a 100644
--- a/lua/lspconfig/sourcekit.lua
+++ b/lua/lspconfig/sourcekit.lua
@@ -1,22 +1,22 @@
-local configs = require 'lspconfig/configs'
-local util = require 'lspconfig/util'
+local configs = require "lspconfig/configs"
+local util = require "lspconfig/util"
configs.sourcekit = {
default_config = {
- cmd = {"xcrun", "sourcekit-lsp"};
- filetypes = {"swift", "c", "cpp", "objective-c", "objective-cpp"};
- root_dir = util.root_pattern("Package.swift", ".git")
- };
+ cmd = { "xcrun", "sourcekit-lsp" },
+ filetypes = { "swift", "c", "cpp", "objective-c", "objective-cpp" },
+ root_dir = util.root_pattern("Package.swift", ".git"),
+ },
docs = {
- package_json = "https://raw.githubusercontent.com/apple/sourcekit-lsp/main/Editors/vscode/package.json";
+ package_json = "https://raw.githubusercontent.com/apple/sourcekit-lsp/main/Editors/vscode/package.json",
description = [[
https://github.com/apple/sourcekit-lsp
Language server for Swift and C/C++/Objective-C.
- ]];
+ ]],
default_config = {
- root_dir = [[root_pattern("Package.swift", ".git")]];
- };
- };
-};
+ root_dir = [[root_pattern("Package.swift", ".git")]],
+ },
+ },
+}
-- vim:et ts=2 sw=2