├── README.md ├── lib ├── sockets.h └── twitch.h ├── src ├── also-this.c ├── another.c ├── sockets.c └── twitch.c └── test └── test.ts /README.md: -------------------------------------------------------------------------------- 1 | # vim-nav-playground -------------------------------------------------------------------------------- /lib/sockets.h: -------------------------------------------------------------------------------- 1 | int SOCKET_OPEN = 1; 2 | int create_socket(); 3 | -------------------------------------------------------------------------------- /lib/twitch.h: -------------------------------------------------------------------------------- 1 | void create_twitch_connection(); 2 | 3 | -------------------------------------------------------------------------------- /src/also-this.c: -------------------------------------------------------------------------------- 1 | 2 | // yes one more 3 | // 4 | int main() { 5 | for (int i = 0; i < SOCKET_OPEN; ++i) { 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/another.c: -------------------------------------------------------------------------------- 1 | 2 | int another_function() { 3 | int i = -1; 4 | do { 5 | ++i; 6 | } while (i == SOCKET_OPEN); 7 | } 8 | -------------------------------------------------------------------------------- /src/sockets.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int create_socket() { 4 | return 42069; 5 | } 6 | -------------------------------------------------------------------------------- /src/twitch.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | 6 | void create_twitch_connection() { 7 | static int sum = 0; 8 | for (int i = 0; i < 10; ++i) { 9 | if (i == SOCKET_OPEN) { 10 | printf("Its open!\n"); 11 | } 12 | sum += i; 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /test/test.ts: -------------------------------------------------------------------------------- 1 | 2 | describe("test", function() { 3 | it("should be a sentence", function() { 4 | console.log("testy test!", 42069); 5 | }); 6 | }); 7 | 8 | --------------------------------------------------------------------------------