neovim - package names

This commit is contained in:
2024-03-02 18:43:09 +01:00
parent a5c009d449
commit abd05bbd42

View File

@@ -20,121 +20,121 @@ in {
withNodeJs = true; withNodeJs = true;
withPython3 = true; withPython3 = true;
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [
bufferline-nvim bufferline-nvim
catppuccin-nvim catppuccin-nvim
cmp-buffer# cmp-buffer
cmp-conjure# cmp-conjure
cmp-nvim-lua# cmp-nvim-lua
cmp-path# cmp-path
cmp_luasnip# cmp_luasnip
comment-nvim# comment-nvim
conform-nvim conform-nvim
conjure conjure
dropbar-nvim dropbar-nvim
friendly-snippets# friendly-snippets
lazy-nvim# lazy-nvim
lean-nvim lean-nvim
leap-nvim leap-nvim
lspkind-nvim# lspkind-nvim
lualine-lsp-progress# lualine-lsp-progress
lualine-nvim lualine-nvim
luasnip# luasnip
markdown-preview-nvim markdown-preview-nvim
neoconf-nvim# neoconf-nvim
neodev-nvim# neodev-nvim
neoscroll-nvim neoscroll-nvim
nvim-autopairs nvim-autopairs
nvim-cmp nvim-cmp
nvim-lspconfig nvim-lspconfig
nvim-surround nvim-surround
nvim-tree-lua nvim-tree-lua
nvim-treesitter.withAllGrammars nvim-treesitter.withAllGrammars
nvim-treesitter-textobjects nvim-treesitter-textobjects
nvim-ts-context-commentstring nvim-ts-context-commentstring
nvim-web-devicons# nvim-web-devicons
obsidian-nvim obsidian-nvim
oil-nvim oil-nvim
plenary-nvim plenary-nvim
rainbow-delimiters-nvim# rainbow-delimiters-nvim
telescope-fzf-native-nvim telescope-fzf-native-nvim
telescope-nvim telescope-nvim
vimtex vimtex
which-key-nvim which-key-nvim
]; ];
extraPackages = with pkgs; [ extraPackages = with pkgs; [
ripgrep ripgrep
fd fd
codespell codespell
prettierd prettierd
# Lua # Lua
lua-language-server lua-language-server
stylua stylua
# Haskell # Haskell
haskell-language-server haskell-language-server
ghc ghc
stack stack
cabal-install cabal-install
haskellPackages.fourmolu haskellPackages.fourmolu
# Lean # Lean
lean4 lean4
# Python # Python
ruff-lsp ruff-lsp
nodePackages.pyright nodePackages.pyright
isort isort
python311Packages.autopep8 python311Packages.autopep8
# LaTeX # LaTeX
texliveFull texliveFull
texlab texlab
xdotool xdotool
pplatex pplatex
neovim-remote neovim-remote
# Nix # Nix
nixd nixd
nixfmt nixfmt
# Rust # Rust
rust-analyzer rust-analyzer
# Bash # Bash
nodePackages.bash-language-server nodePackages.bash-language-server
shellcheck shellcheck
shellharden shellharden
# sh # sh
shfmt shfmt
# Scheme # Scheme
chez chez
]; ];
extraLuaConfig = '' extraLuaConfig = ''
vim.g.mapleader = " " vim.g.mapleader = " "
require("lazy").setup({ require("lazy").setup({
spec = { spec = {
-- Import plugins from lua/plugins -- Import plugins from lua/plugins
{ import = "plugins" }, { import = "plugins" },
},
performance = {
reset_packpath = false,
rtp = {
reset = false,
}
}, },
dev = { performance = {
path = "${ reset_packpath = false,
pkgs.vimUtils.packDir rtp = {
config.programs.neovim.finalPackage.passthru.packpathDirs reset = false,
}/pack/myNeovimPackages/start", }
patterns = {"folke", "catppuccin", "epwalsh"}, },
}, dev = {
install = { path = "${
-- Safeguard in case we forget to install a plugin with Nix pkgs.vimUtils.packDir
missing = false, config.programs.neovim.finalPackage.passthru.packpathDirs
}, }/pack/myNeovimPackages/start",
}) patterns = {"arkav", "Bekaboo", "catppuccin", "epwalsh", "folke", "ggandor", "HiPhish", "hrsh7th", "iamcco", "Joosep", "Julian", "karb94", "L3MON4D3", "lervag", "neovim", "numToStr", "nvim-lua", "nvim-lualine", "nvim-telescope", "nvim-tree", "nvim-treesitter", "Olical", "onsails", "PaterJason", "rafamadiz", "saadparwaiz1", "skanehira", "stevearc", "tpope", "windwp"},
require("config/options") },
''; install = {
-- Safeguard in case we forget to install a plugin with Nix
missing = false,
},
})
require("config/options")
'';
}; };
xdg.configFile."nvim/lua"= { xdg.configFile."nvim/lua" = {
recursive = true; recursive = true;
source = ./lua; source = ./lua;
}; };