Skip to content

Commit

Permalink
chore(nvim): move carbon to nix
Browse files Browse the repository at this point in the history
topic:chorenvim-move-carbon-to-nix
relative: chorenvim-move-github-color-scheme-to-nix
labels:draft
  • Loading branch information
kaihowl committed Dec 15, 2024
1 parent da5a55f commit 344b7d0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
17 changes: 17 additions & 0 deletions home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,23 @@ in
fzf-lua
tcomment_vim

# Carbon offers:
# - auto update based on file system watchers
# - intuitive addition of new files / directories
# - performance
(pkgs.vimUtils.buildVimPlugin {
pname = "cabon-nvim"; # Color scheme for github
version = "0.20.2";
src = pkgs.fetchFromGitHub {
owner = "SidOfc";
repo = "carbon.nvim";
rev = "44885f9ef558566640c37edc0eceb30a0dcddc48";
# Determine with
# nix-prefetch-url --unpack https://github.com/SidOfc/carbon.nvim/archive/44885f9ef558566640c37edc0eceb30a0dcddc48.tar.gz
sha256 = "0zk4vlmimmrw0hd02lxmch563lf9gv05a3n03qq00g1nh892fim9";
};
})

# Color schemes
edge
gruvbox
Expand Down
6 changes: 0 additions & 6 deletions nvim/config--nvim--init.vim.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,6 @@ set shortmess+=c
" Specify a directory for plugins
call plug#begin(stdpath('data') . '/plugged')

" Carbon offers:
" - auto update based on file system watchers
" - intuitive addition of new files / directories
" - performance
Plug 'SidOfc/carbon.nvim'

Plug 'stevearc/oil.nvim'

Plug 'vim-scripts/linediff.vim'
Expand Down

0 comments on commit 344b7d0

Please sign in to comment.