$ fd . --no-hidden --no-ignore | entr -c -s 'lua d6/main.lua < d6/input.txt'
Lua | |
---|---|
1 | ๐ |
2 | ๐ |
3 | ๐ |
4 | ๐ |
5 | ๐ |
6 | ๐ |
7 | ๐ |
8 | ๐ |
9 | ๐ |
10 | ๐ |
11 | ๐ |
12 | ๐ |
13 | ๐ |
14 | ๐ |
15 | ๐ |
16 | ๐ |
17 | ๐ |
18 | ๐ |
19 | ๐ |
20 | ๐ |
21 | ๐ |
22 | ๐ |
23 | ๐ |
24 | ๐ |
25 | ๐ |
For longer code snippets, use https://topaz.github.io/paste/. If it's short enough, do this:
$ cat code | sed 's/^/ /' | xsel -b
$ cat code | sed 's/^/ /' | pbcopy
[LANGUAGE: lua]
# [Lua]()
60 lines of code according to `tokei` when formatted with `stylua`.
- [GitHub Repository](https://github.com/cideM/aoc2023)
- [Topaz Paste]()
Add set exrc
to your Neovim configuration, then echo 'let g:copilot_enabled=v:false' > .nvimrc
, open the file and :trust
it.