Advertisement
Wurfkreuz

Untitled

May 3rd, 2023 (edited)
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. for _, source in ipairs {
  2. "astronvim.bootstrap",
  3. "astronvim.options",
  4. "astronvim.lazy",
  5. "astronvim.autocmds",
  6. "astronvim.mappings",
  7. } do
  8. local status_ok, fault = pcall(require, source)
  9. if not status_ok then vim.api.nvim_err_writeln("Failed to load " .. source .. "\n\n" .. fault) end
  10. end
  11.  
  12. if astronvim.default_colorscheme then
  13. if not pcall(vim.cmd.colorscheme, astronvim.default_colorscheme) then
  14. require("astronvim.utils").notify(
  15. "Error setting up colorscheme: " .. astronvim.default_colorscheme,
  16. vim.log.levels.ERROR
  17. )
  18. end
  19. end
  20.  
  21. require("astronvim.utils").conditional_func(astronvim.user_opts("polish", nil, false), true)
  22.  
  23. require('astro').setup {
  24. colorscheme = {
  25. name = 'gruvbox',
  26. options = {
  27. variant = 'dark'
  28. }
  29. }
  30. }
  31.  
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement