Skip to content

pr-for-merge-from-upstream#2122

Closed
berkenar1 wants to merge 5 commits into
nvim-lua:masterfrom
berkenar1:master
Closed

pr-for-merge-from-upstream#2122
berkenar1 wants to merge 5 commits into
nvim-lua:masterfrom
berkenar1:master

Conversation

@berkenar1

Copy link
Copy Markdown

NOTE
Please verify that the base repository above has the intended destination!
Github by default opens Pull Requests against the parent of a forked repository.
If this is your personal fork and you didn't intend to open a PR for contribution
to the original project then adjust the base repository accordingly.


Copilot AI review requested due to automatic review settings July 11, 2026 04:22
@berkenar1 berkenar1 closed this Jul 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR turns the repository into a FreeBSD-focused fork of kickstart.nvim by adding FreeBSD-specific installation/health-check/uninstall tooling, updating documentation accordingly, and adjusting init.lua to better match FreeBSD expectations (system packages, markdown tooling, and treesitter behavior).

Changes:

  • Added FreeBSD helper scripts (install-freebsd.sh, check-freebsd.sh, uninstall-freebsd.sh) plus a convenience Makefile.
  • Updated README.md to rebrand as “kickstart.nvim-FreeBSD” and provide FreeBSD-centric dependency + install guidance.
  • Updated init.lua for FreeBSD defaults (UI/options, markdown preview support, and a modified treesitter/mason posture) and added a FreeBSD-oriented GitHub Actions workflow.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
uninstall-freebsd.sh Adds an interactive uninstall script for removing config/state.
README.md Rebrands and documents FreeBSD-specific install and usage instructions.
Makefile Adds convenience targets for install/check/sync/clean/uninstall.
lazy-lock.json Adds a lockfile for pinned plugin versions.
install-freebsd.sh Adds a FreeBSD dependency installation script using pkg.
init.lua Adjusts editor defaults, adds markdown tooling, and changes treesitter/mason behavior.
check-freebsd.sh Adds a dependency/health check script for FreeBSD setups.
.gitignore Stops ignoring lazy-lock.json so it can be committed.
.github/workflows/freebsd-test.yml Adds CI checks intended to validate the FreeBSD fork’s structure/config.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread uninstall-freebsd.sh
echo " - ~/.config/nvim"
echo " - ~/.local/share/nvim"
echo ""
read -p "Are you sure? (type 'yes' to confirm): " confirm
Comment thread uninstall-freebsd.sh
# Backup option
if [ -d "$HOME/.config/nvim" ]; then
echo ""
read -p "Create a backup before deleting? (y/n): " backup
Comment thread check-freebsd.sh
local cmd=$1
local name=$2

if command -v "$cmd" &> /dev/null; then
Comment thread Makefile
@echo "Uninstalling Neovim configuration..."
sh uninstall-freebsd.sh

.DEFAULT_GOAL := help
Comment on lines +16 to +20
- name: Check Lua syntax
run: |
# Check if init.lua has valid Lua syntax
lua -l init.lua 2>&1 | head -20 || true

Comment thread README.md
Comment on lines +44 to +46
sudo pkg update -f
sudo pkg install -y git gmake unzip llvm ripgrep fd-find tree-sitter stylua base64-by-elvis node npm
```
Comment thread init.lua
Comment on lines +985 to +989
configs.setup {
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },
-- Disable autoinstall on FreeBSD - use system parsers
auto_install = false,
highlight = {
Comment thread init.lua
},
},
-- lua_ls = {
-- -- On FreeBSD, install via: pkg install lua-language-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants