{ pkgs, config, lib, ... }: { programs.neovim = { enable = true; defaultEditor = true; viAlias = true; vimAlias = true; plugins = with pkgs.vimPlugins; [ (nvim-treesitter.withPlugins (p: [ p.lua p.nix p.rust p.python p.bash ])) #telescope-nvim { plugin = vim-startify; # Add the plugin and its coresponding config config = "let g:startify_change_to_vcs_root = 0"; } ]; extraLuaConfig = '' vim.opt.number = true vim.opt.relativenumber = true -- Plugins initiated on launch require("nvim-treesitter.configs").setup({ highlight = { enable = true }, indent = { enable = true }, }) -- Treesitter ''; }; }