Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions nvim/lua/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,25 @@ require('lazy').setup({
dependencies = {
{
'zbirenbaum/copilot.lua',
dependencies = {
'copilotlsp-nvim/copilot-lsp', -- (optional) for NES functionality
},
config = function()
require('copilot').setup({
suggestion = { enabled = false },
panel = { enabled = false },
suggestion = {
enabled = true,
},
panel = {
enabled = true,
},
nes = {
enabled = true,
keymap = {
accept_and_goto = '<leader>p',
accept = false,
dismiss = '<Esc>',
},
},
})
end,
},
Expand Down
3 changes: 3 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,11 @@ install_packages() {
install_wsl_packages
post_setup_wsl_services
fi

# shellcheck disable=2119
install_go_packages
# shellcheck disable=SC2119
install_pip_packages
}

install_zinit() {
Expand Down
4 changes: 3 additions & 1 deletion shell/functions
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ install_wsl_packages() {
python3
python3-pip
pipx
tidy

# Fonts
fonts-noto-color-emoji
Expand Down Expand Up @@ -154,6 +155,7 @@ install_wsl_packages() {
xclip
imagemagick
dnsutils
moreutils
bat
zsh
wslu
Expand All @@ -180,7 +182,7 @@ install_wsl_packages() {
xsl
zip
)
PHP_VERSIONS=(8.1 8.2)
PHP_VERSIONS=(8.1 8.2 8.3 8.4)
for VERSION in "${PHP_VERSIONS[@]}"; do
mapfile -t PHP_COMBINED_PACKAGES < <(printf '%s\n' "${PHP_PACKAGES[@]}" | sed "s/^/php${VERSION}-/")
PACKAGES=("${PACKAGES[@]}" "${PHP_COMBINED_PACKAGES[@]}")
Expand Down