chore(brew): update Brewfile

This commit is contained in:
Stefan Imhoff
2022-11-20 19:23:45 +01:00
parent fc7e88eb26
commit 74c9b868a6
3 changed files with 40 additions and 11 deletions

View File

@@ -134,8 +134,6 @@ brew "jpeg", link: true
brew "zeromq" brew "zeromq"
# Play, record, convert, and stream audio and video # Play, record, convert, and stream audio and video
brew "ffmpeg" brew "ffmpeg"
# GNU compiler collection
brew "gcc"
# Static type checker for JavaScript # Static type checker for JavaScript
brew "flow" brew "flow"
# Command-line outline and bitmap font editor/converter # Command-line outline and bitmap font editor/converter
@@ -144,6 +142,8 @@ brew "fontforge"
brew "fpp" brew "fpp"
# Command-line fuzzy finder written in Go # Command-line fuzzy finder written in Go
brew "fzf" brew "fzf"
# GNU compiler collection
brew "gcc"
# GitHub command-line tool # GitHub command-line tool
brew "gh" brew "gh"
# Distributed revision control system # Distributed revision control system
@@ -461,6 +461,8 @@ cask "ipfs"
cask "iterm2" cask "iterm2"
# Menu bar calendar # Menu bar calendar
cask "itsycal" cask "itsycal"
# Jellyfin desktop client
cask "jellyfin-media-player"
# Spot and merge differences in text and image files or folders # Spot and merge differences in text and image files or folders
cask "kaleidoscope" cask "kaleidoscope"
# Keyboard customizer # Keyboard customizer

View File

@@ -97,6 +97,11 @@ cmp.setup({
format = function(entry, vim_item) format = function(entry, vim_item)
-- Kind icons -- Kind icons
vim_item.kind = string.format("%s", kind_icons[vim_item.kind]) vim_item.kind = string.format("%s", kind_icons[vim_item.kind])
if entry.source.name == "copilot" then
vim_item.kind = icons.git.Octoface
vim_item.kind_hl_group = "CmpItemKindCopilot"
end
-- vim_item.kind = string.format("%s %s", kind_icons[vim_item.kind], vim_item.kind) -- This concatenates the icons with the name of the item kind -- vim_item.kind = string.format("%s %s", kind_icons[vim_item.kind], vim_item.kind) -- This concatenates the icons with the name of the item kind
vim_item.menu = ({ vim_item.menu = ({
nvim_lsp = "[LSP]", nvim_lsp = "[LSP]",
@@ -113,6 +118,37 @@ cmp.setup({
end, end,
}, },
sources = { sources = {
{
name = "copilot",
-- keyword_length = 0,
max_item_count = 3,
trigger_characters = {
{
".",
":",
"(",
"'",
'"',
"[",
",",
"#",
"*",
"@",
"|",
"=",
"-",
"{",
"/",
"\\",
"+",
"?",
" ",
-- "\t",
-- "\n",
},
},
group_index = 2,
},
{ name = "nvim_lsp" }, { name = "nvim_lsp" },
{ name = "nvim_lsp_signature_help" }, { name = "nvim_lsp_signature_help" },
{ name = "luasnip" }, { name = "luasnip" },

View File

@@ -1,9 +0,0 @@
-- https://github.com/github/copilot.vim
local status_ok = pcall(require, "copilot")
if not status_ok then
return
end
vim.g.copilot_no_tab_map = true
vim.g.copilot_assume_mapped = true
vim.g.copilot_tab_fallback = ""