Add dart + flutter
This commit is contained in:
parent
43d476107e
commit
76b65bb505
4 changed files with 18 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
7
configs/nvim/lua/plugins/lspconfig/dart.lua
Normal file
7
configs/nvim/lua/plugins/lspconfig/dart.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
local function init()
|
||||
require'lspconfig'.dartls.setup{}
|
||||
end
|
||||
|
||||
return {
|
||||
init = init
|
||||
}
|
|
@ -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 {
|
||||
|
|
7
configs/nvim/lua/plugins/nvim-flutter-tools.lua
Normal file
7
configs/nvim/lua/plugins/nvim-flutter-tools.lua
Normal file
|
@ -0,0 +1,7 @@
|
|||
local function init()
|
||||
require('flutter-tools').setup()
|
||||
end
|
||||
|
||||
return {
|
||||
init = init
|
||||
}
|
Loading…
Add table
Reference in a new issue