mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
its time
This commit is contained in:
parent
cc18493707
commit
6fff6d1845
673 changed files with 1070 additions and 124971 deletions
68
homeConfig/modules/neovim/config/plugins.nix
Normal file
68
homeConfig/modules/neovim/config/plugins.nix
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
github-theme = pkgs.vimUtils.buildVimPlugin {
|
||||
name = "github-theme";
|
||||
src = pkgs.fetchFromGithub {
|
||||
owner = "projekt0n";
|
||||
repo = "github-nvim-theme";
|
||||
rev = "ea713c37691b2519f56cd801a2330bdf66393d0f";
|
||||
sha256 = "0cwr3b5r2ac7aizxmwb3mlhdc2sh0pw670vcwps79x9jp52yrj2y";
|
||||
};
|
||||
};
|
||||
|
||||
in
|
||||
with pkgs.vimPlugins;
|
||||
[
|
||||
{
|
||||
plugin = github-theme;
|
||||
config = ''
|
||||
lua << EOF
|
||||
vim.cmd('colorscheme github_dark_high_contrast')
|
||||
EOF
|
||||
'';
|
||||
}
|
||||
|
||||
{ plugin = lazygit.nvim; }
|
||||
|
||||
{
|
||||
plugin = LazyVim;
|
||||
config = ''
|
||||
lua << EOF
|
||||
return {
|
||||
{'williamboman/mason.nvim', enabled = false },
|
||||
{'williamboman/mason-lspconfig.nvim', enabled = false },
|
||||
{'nvim-treesitter/nvim-treesitter', enabled = false },
|
||||
}
|
||||
EOF
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
plugin = lsp-zero-nvim;
|
||||
config = ''
|
||||
lua << EOF
|
||||
branch = 'v2.x'
|
||||
requires = {
|
||||
{'neovim/nvim-lspconfig'},
|
||||
{'hrsh7th/nvim-cmp'},
|
||||
{'hrsh7th/cmp-nvim-lsp'},
|
||||
{'L3MON4D3/LuaSnip'},
|
||||
}
|
||||
EOF
|
||||
'';
|
||||
}
|
||||
|
||||
{
|
||||
plugin = nvim-treesitter.withAllGrammars;
|
||||
config = ''
|
||||
lua << EOF
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
}
|
||||
EOF
|
||||
'';
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue