diff --git a/configs/nvim/lua/plugins/init.lua b/configs/nvim/lua/plugins/init.lua index 0d98a97..689eea1 100644 --- a/configs/nvim/lua/plugins/init.lua +++ b/configs/nvim/lua/plugins/init.lua @@ -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 diff --git a/configs/nvim/lua/plugins/lspconfig/dart.lua b/configs/nvim/lua/plugins/lspconfig/dart.lua new file mode 100644 index 0000000..c358c1e --- /dev/null +++ b/configs/nvim/lua/plugins/lspconfig/dart.lua @@ -0,0 +1,7 @@ +local function init() + require'lspconfig'.dartls.setup{} +end + +return { + init = init +} \ No newline at end of file diff --git a/configs/nvim/lua/plugins/lspconfig/init.lua b/configs/nvim/lua/plugins/lspconfig/init.lua index 5c216b9..50b16eb 100644 --- a/configs/nvim/lua/plugins/lspconfig/init.lua +++ b/configs/nvim/lua/plugins/lspconfig/init.lua @@ -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 { diff --git a/configs/nvim/lua/plugins/nvim-flutter-tools.lua b/configs/nvim/lua/plugins/nvim-flutter-tools.lua new file mode 100644 index 0000000..5ce349b --- /dev/null +++ b/configs/nvim/lua/plugins/nvim-flutter-tools.lua @@ -0,0 +1,7 @@ +local function init() + require('flutter-tools').setup() +end + +return { + init = init +} \ No newline at end of file