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
| // Place your key bindings in this file to override the defaults | |
| [ | |
| { | |
| "key": "cmd+i", | |
| "command": "composerMode.agent" | |
| }, | |
| { | |
| "key": "y", | |
| "command": "filesExplorer.copy", | |
| "when": "explorerViewletFocus && !inputFocus" | 
| import { FormatRegistry } from "@sinclair/typebox"; | |
| export const setupFormatRegistry = () => { | |
| FormatRegistry.Set("date-time", (value) => IsDateTime(value, true)); | |
| FormatRegistry.Set("date", (value) => IsDate(value)); | |
| FormatRegistry.Set("time", (value) => IsTime(value)); | |
| FormatRegistry.Set("email", (value) => IsEmail(value)); | |
| FormatRegistry.Set("uuid", (value) => IsUuid(value)); | |
| FormatRegistry.Set("url", (value) => IsUrl(value)); | |
| FormatRegistry.Set("ipv6", (value) => IsIPv6(value)); | 
| yes | somectl credentials generate -d some-thing -t foo -e bar | sed "s/Generating credentials//" | awk '{print $1}' | 
| { | |
| "$schema": "https://json.schemastore.org/swcrc", | |
| "jsc": { | |
| "target": "es2020", | |
| "baseUrl": ".", | |
| "parser": { | |
| "syntax": "typescript", | |
| "tsx": false, | |
| "dynamicImport": true | |
| }, | 
| # Base image | |
| FROM node:PUT_THE_IMAGE_HERE AS base | |
| # Install dependencies | |
| FROM base as deps | |
| WORKDIR /app | |
| # ARG GH_TOKEN | |
| # Change the registry if needed | 
| import { RedisClientType, createClient } from 'redis'; | |
| import { | |
| GenericContainer, | |
| Network, | |
| RandomUuid, | |
| StartedTestContainer, | |
| StoppedTestContainer, | |
| } from 'testcontainers'; | |
| describe('Redis', () => { | 
| version: "3.7" | |
| services: | |
| kafka-ui: | |
| container_name: kafka-ui | |
| image: provectuslabs/kafka-ui:latest | |
| platform: linux/arm64 | |
| ports: | |
| - 8080:8080 | |
| depends_on: |