Skyler Grey | c96cd8a | 2022-06-15 12:28:27 +0100 | [diff] [blame] | 1 | { pkgs, ... }: { |
Skyler Grey | e699532 | 2022-06-12 09:29:17 +0100 | [diff] [blame] | 2 | programs.neovim = { |
3 | enable = true; | ||||
Skyler Grey | c96cd8a | 2022-06-15 12:28:27 +0100 | [diff] [blame] | 4 | coc = { |
5 | enable = true; | ||||
6 | settings = { | ||||
7 | "suggest.noselect" = false; | ||||
8 | }; | ||||
9 | }; | ||||
Skyler Grey | e699532 | 2022-06-12 09:29:17 +0100 | [diff] [blame] | 10 | viAlias = true; |
11 | vimAlias = true; | ||||
12 | vimdiffAlias = true; | ||||
Skyler Grey | c96cd8a | 2022-06-15 12:28:27 +0100 | [diff] [blame] | 13 | extraConfig = '' |
14 | set whichwrap=b,s,<,>,[,] | ||||
Skyler Grey | 2e80a19 | 2022-06-15 14:23:01 +0100 | [diff] [blame] | 15 | set wrap |
16 | set number | ||||
Skyler Grey | c96cd8a | 2022-06-15 12:28:27 +0100 | [diff] [blame] | 17 | ''; |
18 | plugins = [ | ||||
19 | pkgs.vimPlugins.vim-nix | ||||
Skyler Grey | e96d011 | 2022-06-15 15:39:56 +0100 | [diff] [blame^] | 20 | pkgs.vimPlugins.copilot-vim |
Skyler Grey | c96cd8a | 2022-06-15 12:28:27 +0100 | [diff] [blame] | 21 | ]; |
Skyler Grey | e699532 | 2022-06-12 09:29:17 +0100 | [diff] [blame] | 22 | }; |
Skyler Grey | c96cd8a | 2022-06-15 12:28:27 +0100 | [diff] [blame] | 23 | |
24 | home.sessionVariables.EDITOR = "${pkgs.neovim}/bin/nvim"; | ||||
Skyler Grey | 73c55fc | 2022-06-12 09:18:59 +0100 | [diff] [blame] | 25 | } |