nvim/lua/config.lua

19 lines
403 B
Lua

local config = {
border = 'none',
colorscheme = 'catppuccin',
add_plugins = {},
plugins = {},
lsp = {
inlay_hint = false,
format_timeout = 500,
rename_notification = true,
-- table of callbacks pushed via plugins
on_attach_mappings = {},
},
}
function config.lsp.add_on_attach_mapping(callback)
table.insert(config.lsp.on_attach_mappings, callback)
end
return config