Add this to settings.json (cmd ,):
{
"editor.fontFamily": "Operator Mono, Fira Code iScript, Menlo, Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
| # GenServer callbacks and return values | |
| ## init(args) | |
| {:ok, state} | |
| {:ok, state, timeout} | |
| :ignore | |
| {:stop, reason} | |
| ## handle_call(msg, {from, ref}, state) |
| <script> | |
| import { ref } from '@vue/composition-api' | |
| import { onScrollBottom } from '@/scroll' | |
| export default { | |
| setup () { | |
| function loadMore () { | |
| // ... | |
| } | |
| #!/bin/sh | |
| # Uninstall Zsh + Oh My Zsh + Powerlevel10k theme (macOS & Linux) | |
| # run: sh -c "$(curl -fsSL "$(echo "$(curl -s "https://api.github.com/gists/254e58bd87009963b3f58405d75cbe6c")" | grep -o '"raw_url": *"[^"]*"' | cut -d'"' -f4)")" | |
| # Remove installations + configurations | |
| rm -f ~/.p10k.zsh | |
| rm -rf -- ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k | |
| sh ~/.oh-my-zsh/tools/uninstall.sh -y | |
| sudo chsh -s $(which bash) |