Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datsfilipe/min-theme.nvim
Porting Min Theme from Visual Studio Code to Neovim.
https://github.com/datsfilipe/min-theme.nvim
colorscheme dark-theme neovim neovim-colorscheme neovim-plugin nvim-colorscheme nvim-plugin theme
Last synced: 7 days ago
JSON representation
Porting Min Theme from Visual Studio Code to Neovim.
- Host: GitHub
- URL: https://github.com/datsfilipe/min-theme.nvim
- Owner: datsfilipe
- License: mit
- Created: 2023-04-30T04:09:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-03T00:11:21.000Z (4 months ago)
- Last Synced: 2024-08-03T01:54:08.099Z (4 months ago)
- Topics: colorscheme, dark-theme, neovim, neovim-colorscheme, neovim-plugin, nvim-colorscheme, nvim-plugin, theme
- Language: Lua
- Homepage:
- Size: 475 KB
- Stars: 39
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Min ThemeA port of [Min Theme](https://github.com/miguelsolorio/min-theme) for Neovim.
![preview-dark](assets/preview.png)
## Installation
1. Using `Lazy`:
```lua
{ 'datsfilipe/min-theme.nvim' },
```2. Using `Packer`:
```lua
use 'datsfilipe/min-theme.nvim'
```## Configuration
To configure the plugin, you can call require('min-theme').setup({}), passing the table with the values in it, the following are the **defaults**:
```lua
require('min-theme').setup({
-- (note: if your configuration sets vim.o.background the following option will do nothing!)
theme = 'dark', -- String: 'dark' or 'light', determines the colorscheme used
transparent = false, -- Boolean: Sets the background to transparent
italics = {
comments = true, -- Boolean: Italicizes comments
keywords = true, -- Boolean: Italicizes keywords
functions = true, -- Boolean: Italicizes functions
strings = true, -- Boolean: Italicizes strings
variables = true, -- Boolean: Italicizes variables
},
overrides = {}, -- A dictionary of group names, can be a function returning a dictionary or a table.
})
```- **The `colorscheme()` function**
This function can be used to set the colorscheme in your editor, however, if it doesn't work for you, you can always use `vim.cmd.colorscheme('min-theme')`.
### Specifics for Some Plugins
#### Bufferline.nvim
To use the theme with [bufferline.nvim](https://github.com/akinsho/bufferline.nvim), you can use the following configuration:
```lua
require('bufferline').setup({
highlights = require('min-theme').bufferline.highlights,
})
```## Contributing
Contributions are welcome, please open an issue if you encounter any bug or if you find any improvements are needed for the code, also feel free to open a PR.
Take a look at the [Development Guide](./DEVELOPMENT_GUIDE.md)
## License
[MIT License](LICENSE)