Skip to content

Commit

Permalink
fix(dart): fix dart pack (AstroNvim#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter authored and RayJameson committed Jun 20, 2023
1 parent bd0107a commit c0ba50b
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions lua/astrocommunity/pack/dart/dart.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ return {
},
{
"akinsho/flutter-tools.nvim",
ft = { "dart" },
ft = "dart",
init = function() astronvim.lsp.skip_setup = utils.list_insert_unique(astronvim.lsp.skip_setup, "dartls") end,
opts = {
lsp = require("astronvim.utils.lsp").config "dartls",
debugger = {
enabled = true,
},
},
opts = function()
return {
lsp = require("astronvim.utils.lsp").config "dartls",
debugger = { enabled = true },
}
end,
dependencies = {
{ "nvim-lua/plenary.nvim" },
{
Expand All @@ -28,5 +28,9 @@ return {
},
},
-- Add "flutter" extension to "telescope"
{ "nvim-telescope/telescope.nvim", opts = function() require("telescope").load_extension "flutter" end },
{
"nvim-telescope/telescope.nvim",
optional = true,
opts = function() require("telescope").load_extension "flutter" end,
},
}

0 comments on commit c0ba50b

Please sign in to comment.