JafarAbdi / myconfigs

My dotfiles
0 stars 0 forks source link

Remove build_project and use builtin lua in neovim #127

Closed JafarAbdi closed 3 months ago

JafarAbdi commented 3 months ago

Summary by Sourcery

Remove the 'build_project.py' script and integrate file execution directly into Neovim using Lua. Add snippet support and enhance installation scripts to support macOS. Update plugin lock file with new commits.

New Features:

Enhancements:

Chores:

sourcery-ai[bot] commented 3 months ago

Reviewer's Guide by Sourcery

This pull request removes the build_project.py script and replaces it with built-in Lua functions in Neovim. It also adds support for custom snippets, updates the installation process for some tools, and makes minor changes to the Neovim configuration.

File-Level Changes

Change Details Files
Replace external build_project.py script with built-in Lua runners
  • Remove build_project.py script
  • Add a table of Lua runner functions for different file types
  • Update run_file function to use the new Lua runners
  • Remove unnecessary root directory detection logic
neovim/.config/nvim/init.lua
scripts/.local/bin/build_project.py
Add support for custom snippets in Neovim
  • Create a table of snippets for different file types
  • Implement a custom completion source for snippets
  • Register the new snippets source with nvim-cmp
neovim/.config/nvim/init.lua
Update installation process for various tools
  • Add macOS support for installing gh CLI
  • Update WezTerm installation process for macOS
  • Update StyLua installation process for macOS
fish/conf.d/installs.fish
Minor updates to Neovim configuration
  • Update lazy-lock.json with new plugin versions
  • Remove unused functions from build_project.py
neovim/.config/nvim/lazy-lock.json
scripts/.local/bin/build_project.py

Tips - Trigger a new Sourcery review by commenting `@sourcery-ai review` on the pull request. - Continue your discussion with Sourcery by replying directly to review comments. - You can change your review settings at any time by accessing your [dashboard](https://app.sourcery.ai): - Enable or disable the Sourcery-generated pull request summary or reviewer's guide; - Change the review language; - You can always [contact us](mailto:support@sourcery.ai) if you have any questions or feedback.