Skip to content
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

refactor(module)!: rename module nvim-laurel to laurel #266

Merged
merged 8 commits into from
Apr 14, 2024

Conversation

aileot
Copy link
Owner

@aileot aileot commented Apr 6, 2024

This change follows the naming convention in nvim community.

@aileot aileot force-pushed the refactor-rename-module branch 3 times, most recently from c431b8c to efd8705 Compare April 14, 2024 02:18
BREAKING CHANGE: The module prefix `nvim-laurel` is renamed to `laurel`
following the nvim community convention.

Just in case, please make sure to backup your nvim config files via `git`,
`cp`, etc., before updating the module name.

The following snippet is an example oneliner shell script to rename
`nvim-laurel` to `laurel` in `require`d or `import`ed via table, and
`:update` at once on nvim Ex command.

```bash
nvim -u NONE +'exe "argadd" glob(stdpath("config") .."**/*.fnl")->substitute("\n"," ","ge")' +'argdo %s;} :\zsnvim-\zelaurel;;e|%s;(require :\zsnvim-\zelaurel;;e|up' +qa
```

Tested only on `bash`.
The script might not work as expected on other shells.

(Alternatively, you can run `make fnl/nvim-laurel/` at nvim-laurel project
root if you doubt about updating the module name.)
@aileot aileot merged commit fad4d55 into main Apr 14, 2024
3 checks passed
@aileot aileot deleted the refactor-rename-module branch April 14, 2024 02:26
This pull request was closed.
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.

1 participant