🪴 my neovim config:)
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(config/ivy/config/lsp): fix options

robin 0b17e320 0d1552f9

+11 -6
+11 -6
config/lua/ivy/config/lsp.lua
··· 5 5 common = makeopt({ 6 6 {}, 7 7 "common server config", 8 - { "table", "callable" }, 8 + function(v) 9 + local ok, _ = pcall(vim.validate, "common server configuration", v, { "table", "function" }) 10 + return ok 11 + end, 9 12 }), 10 13 servers = makeopt({ 11 14 {}, 12 15 "lsp servers to configure", 13 - { "table", "callable" }, 16 + function(v) 17 + local ok, _ = pcall(vim.validate, "server configurations", v, { "table", "function" }) 18 + return ok 19 + end, 14 20 }), 15 21 on_attach = makeopt({ 16 - default = nil, 17 - description = "callback after lsp attaches", 18 - validator = "callable", 19 - optional = true, 22 + function() end, 23 + "callback after lsp attaches", 24 + "function", 20 25 }), 21 26 }, 22 27 setup = function(props)