diff --git a/nvim/lua/plugins/init.lua b/nvim/lua/plugins/init.lua index 958b201..74e5e2b 100644 --- a/nvim/lua/plugins/init.lua +++ b/nvim/lua/plugins/init.lua @@ -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 = 'p', + accept = false, + dismiss = '', + }, + }, }) end, }, diff --git a/setup.sh b/setup.sh index 6085edc..f126ecc 100755 --- a/setup.sh +++ b/setup.sh @@ -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() { diff --git a/shell/functions b/shell/functions index d70559d..702af4a 100644 --- a/shell/functions +++ b/shell/functions @@ -127,6 +127,7 @@ install_wsl_packages() { python3 python3-pip pipx + tidy # Fonts fonts-noto-color-emoji @@ -154,6 +155,7 @@ install_wsl_packages() { xclip imagemagick dnsutils + moreutils bat zsh wslu @@ -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[@]}")