Skip to content

Commit

Permalink
feat(scope): introduce toggleterm (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbprod authored Oct 10, 2024
1 parent 9e8beea commit 7f3375b
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ and [the official vscode theme](https://github.com/arcticicestudio/nord-visual-s
- [Flash.nvim](https://github.com/folke/flash.nvim)
- [Glance](https://github.com/dnlhc/glance.nvim)
- [Markview](https://github.com/OXY2DEV/markview.nvim)
- [Toggleterm](https://github.com/akinsho/toggleterm.nvim)

Your preferred plugin is missing ? Open an issue or, even better, open a pull
request 😉.
Expand Down Expand Up @@ -200,6 +201,20 @@ require("bufferline").setup({

</details>

<details>
<summary>akinsho/toggleterm.nvim</summary>
Nord provide default options for `toggleterm.nvim` to have a better integration:

```lua
require("toggleterm").setup(
require("nord.plugins.toggleterm").make_opts({
-- your custom options
})
)
```

</details>

## 🎉 Credits

- [shaunsingh/nord.nvim](https://github.com/shaunsingh/nord.nvim): pretty good
Expand Down
13 changes: 13 additions & 0 deletions lua/nord/plugins/toggleterm.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
local toggleterm = {}

function toggleterm.make_opts(options)
return vim.tbl_deep_extend("force", {}, {
highlights = {
FloatBorder = {
link = "FloatBorder",
},
},
}, options or {})
end

return toggleterm

0 comments on commit 7f3375b

Please sign in to comment.