-
Notifications
You must be signed in to change notification settings - Fork 5
V2 - Full rewrite of eca-nvim using Fennel
#68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
joaopluigi
wants to merge
6
commits into
main
Choose a base branch
from
v2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
e7e752e
clean repo
joaopluigi 8478c3a
add nfnl config file
joaopluigi da5a386
add boilerplate for fennel plugin with nfnl
joaopluigi 3456683
fix test runner runtimepath isolation
Copilot 7c1cc1a
fix CI tests
joaopluigi 2a01284
fix typo in Makefile
joaopluigi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| lua/**/*.lua linguist-generated | ||
| lua/example/nfnl/**/*.lua linguist-vendored |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1 @@ | ||
| deps/ | ||
| .eca/ |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| lua/**/*.lua | ||
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| (local core (require :eca.nfnl.core)) | ||
| (local config (require :eca.nfnl.config)) | ||
| (local defaults (config.default)) | ||
|
|
||
| {:compiler-options (core.merge | ||
| defaults.compiler-options | ||
| {:compilerEnv _G}) | ||
| :source-file-patterns [".nvim.fnl" "plugin/*.fnl" "fnl/**/*.fnl"] | ||
| :orphan-detection {:ignore-patterns ["lua/eca/nfnl/"]}} |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,27 +1,20 @@ | ||
| # Makefile for ECA Neovim plugin testing | ||
|
|
||
| .PHONY: test test-file deps clean | ||
| .PHONY: test deps clean | ||
|
|
||
| # Download dependencies for testing | ||
| deps: deps/mini.nvim deps/nui.nvim | ||
| deps: deps/plenary.nvim | ||
|
|
||
| deps/mini.nvim: | ||
| deps/plenary.nvim: | ||
| mkdir -p deps | ||
| git clone --filter=blob:none https://github.com/echasnovski/mini.nvim deps/mini.nvim | ||
|
|
||
| deps/nui.nvim: | ||
| mkdir -p deps | ||
| git clone --filter=blob:none https://github.com/MunifTanjim/nui.nvim deps/nui.nvim | ||
| git clone --filter=blob:none https://github.com/nvim-lua/plenary.nvim.git deps/plenary.nvim | ||
|
|
||
| # Run all tests | ||
| test: deps | ||
| nvim --headless --noplugin -u ./scripts/minimal_init.lua -c "lua MiniTest.run()" | ||
|
|
||
| # Run a specific test file | ||
| # Usage: make test-file FILE=tests/test_example.lua | ||
| test-file: deps | ||
| nvim --headless --noplugin -u ./scripts/minimal_init.lua -c "lua MiniTest.run_file('$(FILE)')" | ||
| nvim --headless -u NONE --noplugin \ | ||
| -c "set rtp^=deps/plenary.nvim" \ | ||
| -c "lua require('plenary.test_harness').test_directory_command(\"lua/spec\")" | ||
|
|
||
| # Clean up dependencies | ||
| clean: | ||
| rm -rf deps/ | ||
| rm -rf deps/ |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.