commit dbc979887fa6690e1dca8bce3f9134c49761fa37
parent 567308e2d0f0e9e88300d649d0ded2e17e3ffcb4
Author: Chris Bracken <chris@bracken.jp>
Date: Sat, 24 Aug 2024 13:02:30 -0700
vim: add Swift support
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/.config/nvim/plugins.lua b/.config/nvim/plugins.lua
@@ -6,6 +6,15 @@ local lspconfig = require('lspconfig')
lspconfig.clangd.setup({})
lspconfig.dartls.setup({})
lspconfig.rust_analyzer.setup({})
+lspconfig.sourcekit.setup({
+ capabilities = {
+ workspace = {
+ didChangeWatchedFiles = {
+ dynamicRegistration = true,
+ },
+ },
+ },
+})
-- Don't show warnings, errors, etc. by default.
vim.diagnostic.config({