1
0
Fork 0

Add dart + flutter

This commit is contained in:
Florian RICHER 2021-08-06 12:40:14 +02:00
parent 43d476107e
commit 76b65bb505
4 changed files with 18 additions and 0 deletions

View file

@ -7,6 +7,7 @@ function configure_packages()
call_with_helpers(require('plugins.nvim-autopairs').init)
call_with_helpers(require('plugins.nvim-notify').init)
call_with_helpers(require('plugins.nvim-hlslens').init)
call_with_helpers(require('plugins.nvim-flutter-tools').init)
end
function install_packages()
@ -37,6 +38,8 @@ function install_packages()
use 'romgrk/barbar.nvim' -- Tabs, as understood by any other editor.
use 'tpope/vim-endwise' -- auto complete block with end
use 'kevinhwang91/nvim-hlslens' -- nvim-hlslens helps you better glance at matched information, seamlessly jump between matched instances.
use 'mfussenegger/nvim-dap' -- debugger
use {'akinsho/flutter-tools.nvim', requires = 'nvim-lua/plenary.nvim'}
use 'mhinz/vim-startify' -- The fancy start screen for Vim.
end

View file

@ -0,0 +1,7 @@
local function init()
require'lspconfig'.dartls.setup{}
end
return {
init = init
}

View file

@ -4,6 +4,7 @@ local function init()
call_with_helpers(require('plugins.lspconfig.typescript').init)
call_with_helpers(require('plugins.lspconfig.ruby').init)
call_with_helpers(require('plugins.lspconfig.php').init)
call_with_helpers(require('plugins.lspconfig.dart').init)
end
return {

View file

@ -0,0 +1,7 @@
local function init()
require('flutter-tools').setup()
end
return {
init = init
}