Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/datsfilipe/vesper.nvim

Porting Vesper theme from Visual Studio Code to Neovim.
https://github.com/datsfilipe/vesper.nvim

colorscheme dark-theme neovim-colorscheme nvim-colorscheme nvim-plugin theme

Last synced: about 2 months ago
JSON representation

Porting Vesper theme from Visual Studio Code to Neovim.

Awesome Lists containing this project

README

        

# Vesper

Port of the VS Code theme, [Vesper](https://github.com/raunofreiberg/vesper)




![preview](./assets/preview.png)




## Installation

1. Using `Lazy`:

```lua
{ 'datsfilipe/vesper.nvim' },
```

2. Using `Packer`:

```lua
use 'datsfilipe/vesper.nvim'
```

## Configuration

To configure the plugin, you can call require('vesper').setup({}), passing the table with the values in it. The following are the **defaults**:

```lua
require('vesper').setup({
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.
palette_overrides = {}
})
```

- **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('vesper')`.

### 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('vesper').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)