File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ This plugin pack does the following:
1010- Adds [ ` moonbit.nvim ` ] ( https://github.com/tonyfettes/moonbit.nvim ) plugin which adds
1111 - Adds ` moonbit ` Treesitter parser
1212 - Adds ` moonbit-lsp ` language server
13+ - Adds ` neotest-moonbit ` neotest adapter
Original file line number Diff line number Diff line change @@ -18,6 +18,15 @@ return {
1818 end
1919 end ,
2020 },
21+ {
22+ " nvim-neotest/neotest" ,
23+ optional = true ,
24+ dependencies = { " moonbit-community/moonbit.nvim" },
25+ opts = function (_ , opts )
26+ if not opts .adapters then opts .adapters = {} end
27+ table.insert (opts .adapters , require " neotest-moonbit" )
28+ end ,
29+ },
2130 -- uncomment if/when moonbit-lsp is added to lspconfig and mason-lspconfig
2231 -- {
2332 -- "williamboman/mason-lspconfig.nvim",
You can’t perform that action at this time.
0 commit comments