Hello, and thanks for the stellar nvim content!
I've followed the video using the 2.0 branch of NvChad, but am having problems during the debugging section. I get the following error when performing space + dpr:
![image](https://private-user-images.githubusercontent.com/6646502/315303081-31305e42-8518-4dc9-b252-452c66d415c1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwNDg2MTYsIm5iZiI6MTcxOTA0ODMxNiwicGF0aCI6Ii82NjQ2NTAyLzMxNTMwMzA4MS0zMTMwNWU0Mi04NTE4LTRkYzktYjI1Mi00NTJjNjZkNDE1YzEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjJUMDkyNTE2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YWE0MjhmZTRjMmE2M2Q1NDlkNzI4YTg2YTE5YmNiZTAyMjAyZTU3ODYwMjNiZjc1ZDhkOTcwNDYzZmQxMjNiZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.GDY1xxsGTw1onm5TP4d2Jo71_VH6kRpJz8oVU07uXbI)
Running it through the command line seems alright:
❯ python3 primes_test.py
[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]
.
----------------------------------------------------------------------
Ran 1 test in 0.000s
OK
My primes.py
:
from typing import List
def primes(n: int) -> List:
# return a list of the first n primes
sieve = [True] * n
res = []
for i in range(2, n):
if sieve[i]:
res.append(i)
for j in range(i * i, n, i):
sieve[j] = False
return res
xs = primes(100)
print(xs)
And primes_test.py
:
import unittest
from primes import primes
class TestPrimes(unittest.TestCase):
def test_primes(self):
self.assertEqual(primes(10), [2, 3, 5, 7])
if __name__ == "__main__":
unittest.main()
Been scratching my head a bit on this.
I've copied + pasted the latest configs from this repo as well to see if I had a typo somewhere.
The only difference I can make out is that NeoVim prompted me to install nvim-neotest/nvim-nio
in order to use dap-ui, which isn't present in this repo as is (happy to make a PR!)