shades-of-purple-nvim/README.md

2.7 KiB

Shades of purple neovim

A port of the original vscode theme. This theme is still balls deep into development but it's possible to use it.

Install

You will need to install lus.nvim too since this theme was made with it.

a. Using lazy.nvim

require('lazy').setup({

{ "https://git.4o1x5.dev/4o1x5/shades-of-purple-nvim", opts = {} },
{ "rktjmp/lush.nvim", opts = {} },

})

b. Using nixvim

# inside nixvim
extraPlugins = with pkgs; [
    {
      plugin = pkgs.vimUtils.buildVimPlugin {
        pname = "shades_of_purple";
        version = "1.0.0";
        src = pkgs.fetchFromGitea {
            domain = "git.4o1x5.dev";
            owner = "4o1x5";
            repo = "shades-of-purple-nvim";
            rev = "ad6f6bf42b2cd4e6f9f5d798ba88e23a28d60b80";
            hash = "sha256-prkkBUFgbLvLAdMZvFlGaHIHINFiRX2rc97zEsQzz4g=";
        };
      }
    }

    vimPlugins.lush-nvim
];

colorscheme = "shades_of_purple";

Btw by copying this you may not get the latest version, I recommend running the following to get the latest.

nix run nixpkgs#nurl -- https://git.4o1x5.dev/4o1x5/shades-of-purple-nvim  -f fetchFromGitea

Language support

This table represents how much will the theme look alike to it's original one. Languages that are not listed will most likely not get support.

Language Support status
Rust Mostly done
Typescript Mostly done
Javascript TODO
C# LSP limited
Elixir TODO
SQL TODO
Zig TODO
Python TODO
Vue TODO
Haskell TODO
Java TODO
Lisp TODO
Go TODO
PHP TODO
Ruby TODO
Swift TODO

Troubleshooting

In some cases you might encouner an error like:

      > ======================================================
       > No successful require checks.
       >
       > Require check failed for the following modules:
       >   - shades_of_purple.shades_of_purple
       > ======================================================

This can be solved by not checking this package

pkgs.vimUtils.buildVimPlugin {
    ...
    doCheck = false;
    ...
};

Made possible with