Links:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " General Settings ~/.config/nvim/init.vim | |
| :set number | |
| :set relativenumber | |
| :set autoindent | |
| :set tabstop=4 | |
| :set shiftwidth=4 | |
| :set smarttab | |
| :set softtabstop=4 | |
| :set mouse=a | |
| :set path+=** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const log_el = document.getElementById('log') | |
| function log(...messages) { | |
| console.log(...messages) | |
| log_el.innerText += '\n' + messages.map(m => JSON.stringify(m, null, 2)).join(' ') | |
| } | |
| function error(message) { | |
| console.error(message) | |
| log_el.innerText += '\n' + message |