nix/home/programs/neovim/plugins.nix
2022-02-17 14:51:28 -05:00

119 lines
2.8 KiB
Nix

{
pkgs,
...
}:
let
sources = import ../../../_sources/generated.nix { inherit (pkgs) fetchgit fetchurl; };
filetype-nvim = pkgs.vimUtils.buildVimPlugin {
inherit (sources.filetype-nvim) pname version src;
};
coq-artifacts = pkgs.vimUtils.buildVimPlugin {
inherit (sources.coq-artifacts) pname version src;
};
coq-thirdparty = pkgs.vimUtils.buildVimPlugin {
inherit (sources.coq-tp) pname version src;
};
fzy-lua-native = pkgs.vimUtils.buildVimPlugin {
inherit (sources.fzy-lua-native) pname version src;
buildPhase = ''
make
'';
};
in {
programs.neovim.plugins =
with pkgs.vimPlugins;
with pkgs.vimExtraPlugins; [
# calendar-vim
{
plugin = chadtree;
type = "lua";
config = ''
local chadtree_settings = {
xdg = true
}
vim.api.nvim_set_var("chadtree_settings", chadtree_settings)
'';
}
comment-nvim
coq-artifacts
coq-thirdparty
coq_nvim
crates-nvim
dial-nvim
diffview-nvim
dracula-vim
dressing-nvim
editorconfig-nvim
filetype-nvim
firenvim
fzf-lua
fzy-lua-native
galaxyline-nvim
gitsigns-nvim
impatient-nvim
indent-blankline-nvim
lsp-colors-nvim
neogit
neorg
nnn-nvim
nui-nvim
null-ls-nvim
nvim-autopairs
nvim-dap
nvim-lspconfig
nvim-neoclip-lua
nvim-notify
nvim-web-devicons
octo-nvim
orgmode
parinfer-rust
plenary-nvim
project-nvim
rust-tools-nvim
sniprun
sqlite-lua
telescope-file-browser-nvim
telescope-fzy-native-nvim
telescope-nvim
telescope-zoxide
toggleterm-nvim
tokyonight-nvim
trouble-nvim
vim-nix
vim-table-mode
vim-tmux
which-key-nvim
wilder-nvim
# (
# nvim-treesitter.withPlugins (
# plugins:
# with plugins; [
# tree-sitter-bash
# tree-sitter-beancount
# tree-sitter-c
# tree-sitter-css
# tree-sitter-dockerfile
# tree-sitter-elisp
# tree-sitter-fish
# tree-sitter-html
# tree-sitter-javascript
# tree-sitter-json
# tree-sitter-json5
# tree-sitter-ledger
# tree-sitter-lua
# tree-sitter-markdown
# tree-sitter-nix
# tree-sitter-norg
# tree-sitter-org-nvim
# tree-sitter-python
# tree-sitter-regex
# tree-sitter-rust
# tree-sitter-toml
# tree-sitter-typescript
# tree-sitter-vim
# tree-sitter-yaml
# ]
# )
# )
];
}