pr-for-merge-from-upstream#2122
Closed
berkenar1 wants to merge 5 commits into
Closed
Conversation
…tall, add install script
There was a problem hiding this comment.
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 convenienceMakefile. - Updated
README.mdto rebrand as “kickstart.nvim-FreeBSD” and provide FreeBSD-centric dependency + install guidance. - Updated
init.luafor 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.
| echo " - ~/.config/nvim" | ||
| echo " - ~/.local/share/nvim" | ||
| echo "" | ||
| read -p "Are you sure? (type 'yes' to confirm): " confirm |
| # Backup option | ||
| if [ -d "$HOME/.config/nvim" ]; then | ||
| echo "" | ||
| read -p "Create a backup before deleting? (y/n): " backup |
| local cmd=$1 | ||
| local name=$2 | ||
|
|
||
| if command -v "$cmd" &> /dev/null; then |
| @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 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 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 = { |
| }, | ||
| }, | ||
| -- lua_ls = { | ||
| -- -- On FreeBSD, install via: pkg install lua-language-server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NOTE
Please verify that the
base repositoryabove 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 repositoryaccordingly.