32 lines
		
	
	
	
		
			648 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			648 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
| return {
 | |
|   {
 | |
|     "nvim-treesitter/nvim-treesitter",
 | |
|     opts = function(_, opts)
 | |
|       if type(opts.ensure_installed) == "table" then
 | |
|         vim.list_extend(opts.ensure_installed, { "astro" })
 | |
|       end
 | |
|     end,
 | |
|   },
 | |
|   {
 | |
|     "neovim/nvim-lspconfig",
 | |
|     opts = {
 | |
|       servers = {
 | |
|         astro = {},
 | |
|       },
 | |
|     },
 | |
|   },
 | |
|   {
 | |
|     "williamboman/mason.nvim",
 | |
|     opts = function(_, opts)
 | |
|       opts.ensure_installed = opts.ensure_installed or {}
 | |
|       vim.list_extend(opts.ensure_installed, { "astro-language-server" })
 | |
|     end,
 | |
|   },
 | |
|   {
 | |
|     "luckasRanarison/nvim-devdocs",
 | |
|     optional = true,
 | |
|     ensure_installed = {
 | |
|       "astro",
 | |
|     },
 | |
|   },
 | |
| }
 | 
