2023-07-01 12:02:59 +02:00
|
|
|
{ config, pkgs, ... }: {
|
2023-07-01 14:25:37 +02:00
|
|
|
programs.neovim = {
|
2023-08-29 13:09:37 +02:00
|
|
|
package = pkgs.neovim-unwrapped;
|
2023-07-01 12:02:59 +02:00
|
|
|
enable = true;
|
2023-07-01 14:25:07 +02:00
|
|
|
defaultEditor = true;
|
|
|
|
viAlias = true;
|
|
|
|
vimAlias = true;
|
|
|
|
vimdiffAlias = true;
|
2023-08-29 11:54:57 +02:00
|
|
|
plugins = with pkgs.vimPlugins; [
|
|
|
|
nvchad
|
|
|
|
nvchad-ui
|
2023-07-01 13:08:44 +02:00
|
|
|
];
|
2023-08-29 13:06:20 +02:00
|
|
|
configure = {
|
2023-08-29 13:08:42 +02:00
|
|
|
packages.myVimPackage = with pkgs.vimPlugins; {
|
2023-08-29 13:07:37 +02:00
|
|
|
start = [
|
|
|
|
nvchad
|
|
|
|
nvchad-ui
|
2023-08-29 13:07:51 +02:00
|
|
|
];
|
2023-08-29 13:07:37 +02:00
|
|
|
};
|
2023-08-29 13:08:42 +02:00
|
|
|
};
|
2023-08-29 12:46:03 +02:00
|
|
|
};
|
2023-08-29 12:10:20 +02:00
|
|
|
}
|
2023-08-29 12:46:03 +02:00
|
|
|
|
2023-08-29 11:54:57 +02:00
|
|
|
# plugins = with pkgs.vimPlugins; [
|
|
|
|
# # vim-airline # Trying out lualine - below
|
|
|
|
# YouCompleteMe
|
|
|
|
# tabnine-vim
|
|
|
|
# rainbow
|
|
|
|
# zen-mode-nvim
|
|
|
|
#
|
|
|
|
# # Themes
|
|
|
|
# nord-vim
|
|
|
|
# gruvbox
|
|
|
|
# tokyonight-nvim
|
|
|
|
#
|
|
|
|
# # https://github.com/figsoda/cfg/blob/main/src/programs/neovim/configure/packages.nix
|
|
|
|
# bufferline-nvim # https://github.com/akinsho/bufferline.nvim/#configuration
|
|
|
|
# cmp-buffer #
|
|
|
|
# cmp-cmdline #
|
|
|
|
# cmp-dap #
|
|
|
|
# cmp-nvim-lsp #
|
|
|
|
# cmp-nvim-lsp-document-symbol #
|
|
|
|
# cmp-path #
|
|
|
|
# cmp_luasnip #
|
|
|
|
# comment-nvim # https://github.com/numtostr/comment.nvim/
|
|
|
|
# dressing-nvim #
|
|
|
|
# gitsigns-nvim # https://github.com/lewis6991/gitsigns.nvim/
|
|
|
|
# indent-blankline-nvim # https://github.com/lukas-reineke/indent-blankline.nvim/
|
|
|
|
# leap-nvim # https://github.com/ggandor/leap.nvim/
|
|
|
|
# lspkind-nvim # https://github.com/onsails/lspkind.nvim/
|
|
|
|
# lualine-nvim # https://github.com/nvim-lualine/lualine.nvim/
|
|
|
|
# luasnip # https://github.com/l3mon4d3/luasnip/
|
|
|
|
# neo-tree-nvim # https://github.com/nvim-neo-tree/neo-tree.nvim/
|
|
|
|
# nix-develop-nvim # https://github.com/figsoda/nix-develop.nvim/
|
|
|
|
# noice-nvim # https://github.com/folke/noice.nvim/
|
|
|
|
# numb-nvim # https://github.com/nacro90/numb.nvim/
|
|
|
|
# nvim-cmp # https://github.com/hrsh7th/nvim-cmp
|
|
|
|
# nvim-colorizer-lua #
|
|
|
|
# nvim-dap #
|
|
|
|
# nvim-dap-ui #
|
|
|
|
# nvim-lspconfig #
|
|
|
|
# nvim-navic #
|
|
|
|
# nvim-notify #
|
|
|
|
# nvim-treesitter-textobjects #
|
|
|
|
# nvim-treesitter.withAllGrammars #
|
|
|
|
# nvim-web-devicons #
|
|
|
|
# nvim_context_vt #
|
|
|
|
# playground #
|
|
|
|
# refactoring-nvim #
|
|
|
|
# ron-vim #
|
|
|
|
# telescope-fzf-native-nvim #
|
|
|
|
# telescope-nvim #
|
|
|
|
# trouble-nvim #
|
|
|
|
# vim-fugitive # https://github.com/tpope/vim-fugitive
|
|
|
|
# vim-lastplace #
|
|
|
|
# vim-visual-multi #
|
|
|
|
# ];
|
2023-08-29 12:09:29 +02:00
|
|
|
# extraConfig = ''
|
|
|
|
# set mouse=a
|
|
|
|
# set number
|
|
|
|
# syntax on
|
|
|
|
# set hlsearch
|
|
|
|
# set ignorecase
|
|
|
|
# set smartcase
|
|
|
|
# set autoindent
|
|
|
|
# set ruler
|
|
|
|
# set shiftwidth=2
|
|
|
|
# set expandtab
|
|
|
|
# set softtabstop=2
|
|
|
|
# set cursorline
|
|
|
|
# let g:rainbow_active = 1
|
|
|
|
#
|
|
|
|
# colorscheme gruvbox
|
|
|
|
# '';
|
|
|
|
# };
|
2023-08-29 12:10:51 +02:00
|
|
|
# }
|