-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlocal-dev-config.lua
More file actions
37 lines (33 loc) · 1.08 KB
/
local-dev-config.lua
File metadata and controls
37 lines (33 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
-- Example configuration for local development
-- Use this when developing the plugin locally
-- Place this file in: ~/.config/nvim/lua/plugins/swift-dev.lua
return {
{
-- Point to your local plugin directory
dir = "~/projects/nvim/swift.nvim",
-- For local development, load immediately to test changes
-- You can also use ft = "swift" for lazy loading
lazy = false,
-- Configuration
config = function()
require("swift").setup({
features = {
project_detector = {
enabled = true,
auto_detect = true,
show_notification = true,
cache_results = true,
},
},
log_level = "info",
})
end,
-- Keymaps for testing
keys = {
{ "<leader>si", "<cmd>SwiftProjectInfo<cr>", desc = "Swift project info" },
{ "<leader>sd", "<cmd>SwiftDetectProject<cr>", desc = "Detect Swift project" },
{ "<leader>sI", "<cmd>SwiftInfo<cr>", desc = "Swift plugin info" },
{ "<leader>sh", "<cmd>checkhealth swift<cr>", desc = "Swift health check" },
},
},
}