diff --git a/lua/plugins/js_mine.lua b/lua/plugins/js_mine.lua new file mode 100644 index 0000000..d045968 --- /dev/null +++ b/lua/plugins/js_mine.lua @@ -0,0 +1,62 @@ +return { + -- { + -- "nvim-treesitter/nvim-treesitter", + -- opts = function(_, opts) + -- vim.list_extend(opts.ensure_installed, { + -- "ruby", + -- }) + -- end, + -- }, + { + "williamboman/mason.nvim", + opts = function(_, opts) + vim.list_extend(opts.ensure_installed, { + "eslint_d", + "eslint-lsp", + }) + end, + }, + { + "neovim/nvim-lspconfig", + opts = { + servers = { + eslint = {}, + }, + }, + }, + -- { + -- "mfussenegger/nvim-dap", + -- dependencies = { + -- "suketa/nvim-dap-ruby", + -- config = function() + -- require("dap-ruby").setup() + -- end, + -- }, + -- keys = { + -- -- https://github.com/mfussenegger/nvim-dap/blob/master/doc/dap.txt + -- { "te", function() require("dap").repl.toggle() end, desc = "DAP Toggle Term" }, + -- { "tn", function() require("dap").continue() end, desc = "DAP Next/Continue" }, + -- { "tb", function() require("dap").toggle_breakpoint() end, desc = "DAP Toggle Breakpoint" }, + -- }, + -- }, + -- { + -- "nvim-neotest/neotest", + -- dependencies = { + -- "olimorris/neotest-rspec", + -- }, + -- opts = { + -- adapters = { + -- ["neotest-rspec"] = { + -- -- NOTE: By default neotest-rspec uses the system wide rspec gem instead of the one through bundler + -- -- rspec_cmd = function() + -- -- return vim.tbl_flatten({ + -- -- "bundle", + -- -- "exec", + -- -- "rspec", + -- -- }) + -- -- end, + -- }, + -- }, + -- }, + -- }, +}