Nvim recognizes the following events. Names are case-insensitive.
BufAdd
Just after creating a new buffer which is
added to the buffer list, or adding a buffer
| import { type ZodErrorMap, z } from 'zod'; | |
| // Error map | |
| type Error = Parameters<ZodErrorMap>['0']; | |
| type Ctx = Parameters<ZodErrorMap>['1']; | |
| type Field = string | number | undefined; | |
| export class ZodCustomErrorMap { | |
| public errorMap(error: Error, ctx: Ctx) { |
| # https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points | |
| symbol_map U+E5FA-U+E62B Symbols Nerd Font Mono | |
| # Devicons | |
| symbol_map U+e700-U+e7c5 Symbols Nerd Font Mono | |
| # Font Awesome | |
| symbol_map U+f000-U+f2e0 Symbols Nerd Font Mono | |
| # Font Awesome Extension | |
| symbol_map U+e200-U+e2a9 Symbols Nerd Font Mono | |
| # Material Design Icons | |
| symbol_map U+f0001-U+f1af0 Symbols Nerd Font Mono |
Per @samali0996 's comment below: https://gist.github.com/pjobson/6b9fb926c59f58aa73d4efa10fe13654?permalink_comment_id=4487157#gistcomment-4487157
The new WSL Win10/11 should support this natevly. Thanks for posting the update!
Repositório do projeto: https://github.com/fdaciuk/conduit-api
Especificação da API: https://gothinkster.github.io/realworld/docs/specs/backend-specs/introduction
| [alias] | |
| a = add | |
| co = checkout | |
| sw = switch | |
| ci = commit | |
| st = status | |
| br = branch | |
| ps = push | |
| ac = "!git add . && git commit -m" | |
| fp = "!git fetch && git pull && git push" |
git clean -fdx