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

Instructions to install plugin with LazyVim #21

Open
wants to merge 13 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: "lts/*"
- name: Install dependencies
# @see: https://github.com/semantic-release/semantic-release/discussions/2500#discussioncomment-3118983
run: npm --location=global i semantic-release{@19,-gitmoji} @semantic-release/git
run: npm --location=global i semantic-release{@19,-gitmoji} @semantic-release/{changelog,git}
- name: Release
env:
GITHUB_TOKEN: ${{ github.token }}
Expand Down
2 changes: 1 addition & 1 deletion .releaserc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = {
plugins: [
"semantic-release-gitmoji",
"@semantic-release/changelog",
[
"@semantic-release/git",
{
assets: ["CHANGELOG.md"],
message:
":bookmark: ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
},
Expand Down
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# [v1.1.0](https://github.com/spaceduck-theme/nvim/compare/v1.0.1...v1.1.0) (2023-12-29)

## ✨ New Features
- [`a7aa1ea`](https://github.com/spaceduck-theme/nvim/commit/a7aa1ea) Add highlight for float border (Issues: [`#1`](https://github.com/spaceduck-theme/nvim/issues/1))

# [v1.0.1](https://github.com/spaceduck-theme/nvim/compare/v1.0.0...v1.0.1) (2023-07-01)

## 🐛 Bug Fixes
- [`5e95aa5`](https://github.com/spaceduck-theme/nvim/commit/5e95aa5) Set proper style for window separator
- [`c9307d1`](https://github.com/spaceduck-theme/nvim/commit/c9307d1) Change window separator color from cream to dark_purple (Issues: [`#5`](https://github.com/spaceduck-theme/nvim/issues/5))

# v1.0.0 (2022-12-20)

## ✨ New Features
- [`62bd408`](https://github.com/spaceduck-theme/nvim/commit/62bd408) port basic spaceduck to lua
- [`00cbec8`](https://github.com/spaceduck-theme/nvim/commit/00cbec8) add lualine support

## 🐛 Bug Fixes
- [`b351754`](https://github.com/spaceduck-theme/nvim/commit/b351754) assert syntax_on existence properly and disable broken groups
- [`ab971f0`](https://github.com/spaceduck-theme/nvim/commit/ab971f0) fix errors in lualine support
- [`73c45d1`](https://github.com/spaceduck-theme/nvim/commit/73c45d1) remove unwanted character from StatusLineTermNC
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,25 @@ _Note: if something looks off please submit an issue with a screenshot_
```lua
use({ "spaceduck-theme/nvim", as = "spaceduck" })
```
## [lazy.nvim](https://github.com/folke/lazy.vim)

```lua
{ "spaceduck-theme/nvim", name = "spaceduck", priority = 1000 }
```

If you have structure your plugins ***lua/plugins*** folder with a file per plugin, or a separate file

```lua
return {
"spaceduck-theme/nvim",
name = "spaceduck",
lazy = false,
priority = 1000,
config = function()
vim.cmd[[colorscheme spaceduck]]
end
}
```

We use semver on spaceduck so you can refer to a specific tag if you want instead of the `master` branch.

Expand All @@ -51,13 +70,31 @@ We use semver on spaceduck so you can refer to a specific tag if you want instea
<img src="https://user-images.githubusercontent.com/32819563/111935037-3ab41d80-8a88-11eb-8797-2b6db14cbff8.png" alt="lualine replace mode screenshot">
</center>

## PACKER
Copy link
Member

Choose a reason for hiding this comment

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

Can you capitalize just the first letter of the titles, please?

Copy link
Author

Choose a reason for hiding this comment

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

Yes i can, but i preferred to change to hyperlinks, can you tell me if I leave it as it was and only capitalize the first letter of the titles?


```lua
require("lualine").setup({
options = {
theme = "spaceduck",
},
})
```
## LAZYVIM

```lua
return {
"nvim-lualine/lualine.nvim",
dependencies = { 'nvim-tree/nvim-web-devicons' },
lazy = false,
Copy link
Member

Choose a reason for hiding this comment

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

On my side it works without lazy = false and priority = 1000, at least for lualine. If we want to keep it, shouldn't it be a priority less than spaceduck to make sure the theme is loaded first and then lualine?

Copy link
Author

Choose a reason for hiding this comment

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

You are right, deleted

priority = 1000,
opts = {
options = {
globalstatus = true,
Copy link
Member

Choose a reason for hiding this comment

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

I also use globalstatus as well but that's rather a personal preference. It's not mandatory for people to use Spaceduck so I'd rather remove it.

Copy link
Author

Choose a reason for hiding this comment

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

You are right, deleted.

theme = 'spaceduck',
},
},
}
```

# Contributing

Expand Down