diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2024-03-27 01:49:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-27 01:49:44 +0000 |
| commit | ef5de419fae7c47069d0fb4415626dbbfab33595 (patch) | |
| tree | 0b9cebdf481cd80c0fce483a8a37f308c6cbd5da /home.nix | |
| parent | cdf380222440fdda6cc6739e8a925cbdbd7c12cb (diff) | |
start neovim config
Diffstat (limited to 'home.nix')
| -rw-r--r-- | home.nix | 32 |
1 files changed, 31 insertions, 1 deletions
@@ -23,7 +23,37 @@ ]; home.sessionVariables = { - EDITOR = "vim"; + EDITOR = "nvim"; + }; + + programs.neovim = { + enable = true; + + plugins = with pkgs.vimPlugins; [ + comment-nvim + + { + plugin = lualine-nvim; + type = "lua"; + config = "${builtins.readFile nvim/plugin/lualine.lua}"; + } + nvim-web-devicons + + { + plugin = gruvbox; + config = "colorscheme gruvbox"; + } + + { + plugin = nvim-lspconfig; + type = "lua"; + config = "${builtins.readFile nvim/plugin/lsp.lua}"; + } + ]; + + extraLuaConfig = '' + ${builtins.readFile nvim/options.lua } + ''; }; programs.home-manager.enable = true; |
