Skip to content

Latest commit

 

History

History
executable file
·
85 lines (48 loc) · 2.6 KB

File metadata and controls

executable file
·
85 lines (48 loc) · 2.6 KB

voltrix.vim

vim/nvim Plugin for voltrix

「voltrix」 is a sweet, maximalist colorscheme that invokes the whimsical uniformity of pastels, without sacrificing the placating vibrance of postmodernity.

This is its vim/nvim plugin, installable via your favorite plugin manager.

voltrix is also available for Alacritty and Fallout 4 at the main repository.

Installation

voltrix.vim should be installable by any git-based plugin manager. Here are a few examples:


Install like you would any other plugin:

call plug#begin()
Plug 'volbot/voltrix.vim'
call plug#end()

Then, either in the vim command prompt or in vimrc:

colorscheme voltrix

Add voltrix.vim to your lazy.nvim setup, like so:

require("lazy").setup({
    { "volbot/voltrix.vim" },
})

At this point, a regular :colorscheme command will activate voltrix, but most lazy.nvim setups involve some smart colorscheme-loader, so simply load as you would any other built-in colorscheme.

Manual Installation

Simply download voltrix.vim from the downloads page, put it in your relevant colors directory, and enable.

vim: $HOME/.vim/colors/voltrix.vim nvim: $CONFIG_HOME/nvim/colors/voltrix.vim

Usage

voltrix will begin using its colors for vim's default highlight groups out of the box.

However, it is best used alongside syntax highlighting plugins.

vim

For everyone's sake, I won't sit here and rehash syntax highlighting for vim. It's often subjective, and whatever I write will likely be superceded by entirely new plugins within the hour.

That being said, your two main options are:

  1. configuring an LSP, which is its own (much worthwhile) beast
  2. one-off syntax grouping plugins

I used a combination of these before switching to nvim. Option #1 can be cpu-time intensive, as vim does not run asynchronously, but Option #2 can sometimes over-highlight things. Use whichever you like best.

nvim

nvim is far simpler. Your LSP will often highlight for you, but I find nvim-treesitter to do a far better job than any unconfigured LSP.

Like with vim, this boils down to preference, but nvim's proclivity for language processing allows for far better detail with far less intervention.