Skip to content

Instantly share code, notes, and snippets.

View MaymoonaAlBoloshi's full-sized avatar
😞
The cookies aren't real -- I too have been decieved

Maymoona Al Balushi MaymoonaAlBoloshi

😞
The cookies aren't real -- I too have been decieved
  • Rihal
  • Oman / Batina . Barka
  • 16:43 (UTC +04:00)
View GitHub Profile
@ianchesal
ianchesal / overrides.lua
Created May 8, 2023 18:45
copilot.lua + copilot-cmp in NvChad
-- Add the following in your custom/configs/overrides.lua file. You can configure copilot to meet your needs here.
M.copilot = {
-- Possible configurable fields can be found on:
-- https://github.com/zbirenbaum/copilot.lua#setup-and-configuration
suggestion = {
enable = false,
},
panel = {
enable = false,
@flushentitypacket
flushentitypacket / DragScrollProvider.tsx
Last active April 4, 2024 22:29
Typescript React component to provide click-and-drag scrolling
import * as React from 'react'
type DragScrollProvisions = {
onMouseDown: React.MouseEventHandler<HTMLElement>,
ref: React.Ref<HTMLElement>,
}
export type Props = {
children: (provisions: DragScrollProvisions) => React.ReactNode,
}