feat: initial push with a fully separated and organized user configuration for AstroNvim v3

This commit is contained in:
Micah Halter
2023-01-14 14:16:59 -05:00
commit aac7f99b05
28 changed files with 362 additions and 0 deletions

10
lsp/setup_handlers.lua Normal file
View File

@@ -0,0 +1,10 @@
-- override the LSP setup handler function based on server name
return {
-- first function changes the default setup handler
function(server, opts) require("lspconfig")[server].setup(opts) end,
-- keys for a specific server name will be used for that LSP
sumneko_lua = function(server, opts)
-- custom sumneko_lua setup handler
require("lspconfig")["sumneko_lua"].setup(opts)
end,
}