configs/neovim: use vacme theme with some tweaks

This commit is contained in:
Aaron Bieber 2022-10-26 10:19:10 -06:00
parent 00d73f9ba7
commit 9400f6b24c
No known key found for this signature in database
4 changed files with 35 additions and 3 deletions

View File

@ -2,12 +2,18 @@ local map = vim.api.nvim_set_keymap
local o = vim.o local o = vim.o
local cmd = vim.cmd local cmd = vim.cmd
cmd("syntax off"); --cmd("syntax off");
cmd("set t_Co=0"); --cmd("set t_Co=0");
cmd("hi LineNr NONE");
cmd("set nolist"); cmd("set nolist");
cmd("set ruler"); cmd("set ruler");
cmd("set mouse-=n"); cmd("set mouse-=n");
cmd("set t_Co=256");
cmd("colorscheme vacme");
cmd("hi! Normal ctermbg=NONE ctermfg=NONE");
cmd("hi! Normal ctermbg=NONE ctermfg=NONE");
cmd("hi! Normal ctermbg=NONE ctermfg=NONE");
cmd("hi! SignColumn NONE");
cmd("hi! LineNr NONE");
require("compe").setup { require("compe").setup {
enabled = true; enabled = true;
@ -44,6 +50,7 @@ cmd[[highlight NvimTreeFolderName guifg=default]]
local lspc = require("lspconfig") local lspc = require("lspconfig")
lspc.gopls.setup {}; lspc.gopls.setup {};
lspc.nil_ls.setup {};
o.hlsearch = true; o.hlsearch = true;

View File

@ -1,6 +1,26 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with pkgs; with pkgs;
let let
parchment = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
pname = "parchment";
version = "0.4.0";
src = pkgs.fetchFromGitHub {
owner = "ajgrf";
repo = pname;
rev = "v${version}";
sha256 = "sha256-ZphConCGZR3EG6dd8Ji7U9Qtm21SoWMk60XD4X+My1g=";
};
};
vacme = pkgs.vimUtils.buildVimPluginFrom2Nix rec {
pname = "vacme";
version = "2017-01-14";
src = pkgs.fetchFromGitHub {
owner = "olivertaylor";
repo = pname;
rev = "2f0b284b5bc1c9dd5b7f0b89ac880959e61b0be4";
sha256 = "sha256-eea0Ntr3gCmF6iZ0adZaVswWH70K9IJZ4SAyVSdFp3E=";
};
};
baseVimPackages = with vimPlugins; [ baseVimPackages = with vimPlugins; [
fugitive fugitive
nvim-compe nvim-compe
@ -12,6 +32,9 @@ let
vim-nix vim-nix
vim-ocaml vim-ocaml
zig-vim zig-vim
parchment
vacme
]; ];
myVimPackages = if pkgs.system == "aarch64-linux" then myVimPackages = if pkgs.system == "aarch64-linux" then
baseVimPackages baseVimPackages

View File

@ -118,6 +118,7 @@ in {
lz4 lz4
minisign minisign
mosh mosh
nil
nix-diff nix-diff
nixfmt nixfmt
nix-index nix-index

View File

@ -88,6 +88,7 @@
git git
go go
jq jq
nil
nix-diff nix-diff
shfmt shfmt
sops sops