Add flutter

This commit is contained in:
Saeed Afzal
2023-08-07 11:20:41 +01:00
parent 8159705623
commit 582a93f3e3
4 changed files with 56 additions and 42 deletions

View File

@@ -14,6 +14,7 @@ opt.termguicolors = true
opt.number = true
opt.mouse = "a"
opt.hidden = true
opt.scrolloff = 8
-- Indentation
opt.expandtab = true

View File

@@ -1,6 +1,5 @@
return {
"nvim-lua/plenary.nvim",
"nathom/filetype.nvim",
"LunarVim/bigfile.nvim",
"f-person/git-blame.nvim",
"nvim-tree/nvim-web-devicons",
@@ -159,5 +158,15 @@ return {
config = function()
require("plugins.config.whichkey")
end
},
{
"akinsho/flutter-tools.nvim",
lazy = false,
dependencies = {
"nvim-lua/plenary.nvim",
"stevearc/dressing.nvim"
},
config = true
}
}

View File

@@ -9,7 +9,10 @@ return {
require("nvim-treesitter.configs").setup {
highlight = { enable = true },
incremental_selection = { enable = true },
indent = { enable = true },
indent = {
enable = true,
disable = { 'dart' }
},
autotag = { enable = true },
context_commentstring = { enable = true, enable_autocmd = false },
matchup = { enable = true }