add required deps
This commit is contained in:
167
flake.nix
167
flake.nix
@@ -28,25 +28,26 @@
|
|||||||
in
|
in
|
||||||
f [] attrList;
|
f [] attrList;
|
||||||
in rec {
|
in rec {
|
||||||
dependencies = with pkgs;
|
dependencies = with pkgs; [
|
||||||
[
|
ripgrep
|
||||||
ripgrep
|
zsh # terminal requires it
|
||||||
zsh # terminal requires it
|
git
|
||||||
git
|
curl # needed to fetch titles from urls
|
||||||
curl # needed to fetch titles from urls
|
zk # lsp for markdown notes
|
||||||
zk # lsp for markdown notes
|
terraform-ls # terraform lsp
|
||||||
terraform-ls # terraform lsp
|
tflint # terraform linter
|
||||||
tflint # terraform linter
|
shellcheck # sh scripts check
|
||||||
shellcheck # sh scripts check
|
proselint # ditto
|
||||||
proselint # ditto
|
luaformatter # ditto for lua
|
||||||
luaformatter # ditto for lua
|
lua-language-server
|
||||||
lua-language-server
|
prisma-engines # ditto for schema.prisma files
|
||||||
prisma-engines # ditto for schema.prisma files
|
nodePackages.prettier # ditto
|
||||||
nodePackages.prettier # ditto
|
nodePackages.bash-language-server # bash lsp
|
||||||
nodePackages.bash-language-server # bash lsp
|
python310Packages.python-lsp-server # todo: is specifying 310 an issue?
|
||||||
python310Packages.python-lsp-server # todo: is specifying 310 an issue?
|
alejandra # nix formatter alternative
|
||||||
alejandra # nix formatter alternative
|
statix # linter for nix
|
||||||
];
|
vale # linter for prose
|
||||||
|
];
|
||||||
neovim-augmented = recursiveMerge [
|
neovim-augmented = recursiveMerge [
|
||||||
pkgs.neovim-unwrapped
|
pkgs.neovim-unwrapped
|
||||||
{buildInputs = dependencies;}
|
{buildInputs = dependencies;}
|
||||||
@@ -72,74 +73,74 @@
|
|||||||
'';
|
'';
|
||||||
packages.myPlugins = with pkgs.vimPlugins; {
|
packages.myPlugins = with pkgs.vimPlugins; {
|
||||||
start = with pkgs.vimPlugins; [
|
start = with pkgs.vimPlugins; [
|
||||||
# Common dependencies of other plugins
|
# Common dependencies of other plugins
|
||||||
popup-nvim # dependency
|
popup-nvim # dependency
|
||||||
plenary-nvim # dependency of some other plugins
|
plenary-nvim # dependency of some other plugins
|
||||||
|
|
||||||
nvim-treesitter # syntax highlight
|
nvim-treesitter # syntax highlight
|
||||||
crates-nvim # inline intelligence for Cargo.toml
|
crates-nvim # inline intelligence for Cargo.toml
|
||||||
nvim-lspconfig # LSP for intilligent coding
|
nvim-lspconfig # LSP for intilligent coding
|
||||||
null-ls-nvim # formatting and linting via lsp system
|
null-ls-nvim # formatting and linting via lsp system
|
||||||
lspsaga-nvim
|
lspsaga-nvim
|
||||||
trouble-nvim # navigate all warnings and errors in quickfix-like window
|
trouble-nvim # navigate all warnings and errors in quickfix-like window
|
||||||
fidget-nvim # show lsp status in bottom right but not status line
|
fidget-nvim # show lsp status in bottom right but not status line
|
||||||
neodev-nvim # help for neovim lua api
|
neodev-nvim # help for neovim lua api
|
||||||
lsp-format-nvim
|
lsp-format-nvim
|
||||||
SchemaStore-nvim # json schemas
|
SchemaStore-nvim # json schemas
|
||||||
# vim-fugitive # git control
|
# vim-fugitive # git control
|
||||||
|
|
||||||
# UI
|
# UI
|
||||||
onedarkpro-nvim # colorscheme
|
onedarkpro-nvim # colorscheme
|
||||||
todo-comments-nvim # highlight TODO comments
|
todo-comments-nvim # highlight TODO comments
|
||||||
ir_black # colorscheme for basic terminals
|
ir_black # colorscheme for basic terminals
|
||||||
telescope-nvim # da best popup fuzzy finder
|
telescope-nvim # da best popup fuzzy finder
|
||||||
telescope-fzy-native-nvim # with fzy gives better results
|
telescope-fzy-native-nvim # with fzy gives better results
|
||||||
telescope-frecency-nvim # and frecency comes in handy too
|
telescope-frecency-nvim # and frecency comes in handy too
|
||||||
nvim-colorizer-lua # color over CSS like #00ff00
|
nvim-colorizer-lua # color over CSS like #00ff00
|
||||||
nvim-web-devicons # makes things pretty; used by many plugins below
|
nvim-web-devicons # makes things pretty; used by many plugins below
|
||||||
nvim-tree-lua # file navigator
|
nvim-tree-lua # file navigator
|
||||||
gitsigns-nvim # git status in gutter
|
gitsigns-nvim # git status in gutter
|
||||||
symbols-outline-nvim # navigate the current file better
|
symbols-outline-nvim # navigate the current file better
|
||||||
lualine-nvim # nice status bar at bottom
|
lualine-nvim # nice status bar at bottom
|
||||||
vim-bbye # fix bdelete buffer stuff needed with bufferline
|
vim-bbye # fix bdelete buffer stuff needed with bufferline
|
||||||
bufferline-nvim
|
bufferline-nvim
|
||||||
indent-blankline-nvim # visual indent
|
indent-blankline-nvim # visual indent
|
||||||
toggleterm-nvim # better terminal management
|
toggleterm-nvim # better terminal management
|
||||||
nvim-treesitter.withAllGrammars # better code coloring
|
nvim-treesitter.withAllGrammars # better code coloring
|
||||||
# playground # treesitter playground
|
# playground # treesitter playground
|
||||||
nvim-treesitter-textobjects # jump around and select based on syntax (class, function, etc.)
|
nvim-treesitter-textobjects # jump around and select based on syntax (class, function, etc.)
|
||||||
nvim-treesitter-context # keep current block header (func defn or whatever) on first line
|
nvim-treesitter-context # keep current block header (func defn or whatever) on first line
|
||||||
lf-vim
|
lf-vim
|
||||||
|
|
||||||
# Autocompletion
|
# Autocompletion
|
||||||
nvim-cmp # generic autocompleter
|
nvim-cmp # generic autocompleter
|
||||||
cmp-nvim-lsp # use lsp as source for completions
|
cmp-nvim-lsp # use lsp as source for completions
|
||||||
cmp-nvim-lua # makes vim config editing better with completions
|
cmp-nvim-lua # makes vim config editing better with completions
|
||||||
cmp-buffer # any text in open buffers
|
cmp-buffer # any text in open buffers
|
||||||
cmp-path # complete paths
|
cmp-path # complete paths
|
||||||
cmp-cmdline # completing in :commands
|
cmp-cmdline # completing in :commands
|
||||||
cmp-emoji # complete :emojis:
|
cmp-emoji # complete :emojis:
|
||||||
cmp-nvim-lsp-signature-help # help complete function call by showing args
|
cmp-nvim-lsp-signature-help # help complete function call by showing args
|
||||||
cmp-npm # complete node packages in package.json
|
cmp-npm # complete node packages in package.json
|
||||||
nvim-autopairs # balances parens as you type
|
nvim-autopairs # balances parens as you type
|
||||||
nvim-ts-autotag # balance or rename html
|
nvim-ts-autotag # balance or rename html
|
||||||
vim-emoji # TODO: redundant now?
|
vim-emoji # TODO: redundant now?
|
||||||
luasnip # snippets driver
|
luasnip # snippets driver
|
||||||
cmp_luasnip # snippets completion
|
cmp_luasnip # snippets completion
|
||||||
friendly-snippets # actual library of snippets used by luasnip
|
friendly-snippets # actual library of snippets used by luasnip
|
||||||
zk-nvim # lsp for a folder of notes for searching/linking/etc
|
zk-nvim # lsp for a folder of notes for searching/linking/etc
|
||||||
true-zen-nvim # distraction free, width constrained writing mode
|
true-zen-nvim # distraction free, width constrained writing mode
|
||||||
|
|
||||||
undotree # better vim file edit history
|
undotree # better vim file edit history
|
||||||
comment-nvim # code commenter
|
comment-nvim # code commenter
|
||||||
nvim-surround # .... updated lua-based alternative to tpope's surround
|
nvim-surround # .... updated lua-based alternative to tpope's surround
|
||||||
nui-nvim # UI Component Library for Neovim
|
nui-nvim # UI Component Library for Neovim
|
||||||
gitsigns-nvim # git file changes
|
gitsigns-nvim # git file changes
|
||||||
project-nvim
|
project-nvim
|
||||||
vim-tmux-navigator # navigate vim and tmux panes together
|
vim-tmux-navigator # navigate vim and tmux panes together
|
||||||
impatient-nvim # speeds startup times by caching lua bytecode
|
impatient-nvim # speeds startup times by caching lua bytecode
|
||||||
which-key-nvim # WhichKey is a lua plugin for Neovim 0.5 that displays a popup with possible key bindings of the command you started typing
|
which-key-nvim # WhichKey is a lua plugin for Neovim 0.5 that displays a popup with possible key bindings of the command you started typing
|
||||||
diffview-nvim # git diff viewer
|
diffview-nvim # git diff viewer
|
||||||
];
|
];
|
||||||
opt = with pkgs.vimPlugins; [
|
opt = with pkgs.vimPlugins; [
|
||||||
# grammar check
|
# grammar check
|
||||||
|
|||||||
Reference in New Issue
Block a user