| ... | @@ -5,6 +5,7 @@ | ... | @@ -5,6 +5,7 @@ |
| 5 | ... | 5 | ... |
| 6 | }: | 6 | }: |
| 7 | { | 7 | { |
| | 8 | imports = [ ./options.nix ]; |
| 8 | # based on default options from upstream: | 9 | # based on default options from upstream: |
| 9 | # https://github.com/NotAShelf/nvf/blob/main/configuration.nix | 10 | # https://github.com/NotAShelf/nvf/blob/main/configuration.nix |
| 10 | # | 11 | # |
| ... | @@ -18,23 +19,6 @@ | ... | @@ -18,23 +19,6 @@ |
| 18 | enable = true; | 19 | enable = true; |
| 19 | }; | 20 | }; |
| 20 | | 21 | |
| 21 | options = { | | |
| 22 | tabstop = 2; | | |
| 23 | softtabstop = 2; | | |
| 24 | shiftwidth = 2; | | |
| 25 | undofile = true; | | |
| 26 | swapfile = false; | | |
| 27 | showmode = false; | | |
| 28 | foldlevel = 99; | | |
| 29 | foldcolumn = "1"; | | |
| 30 | foldlevelstart = 99; | | |
| 31 | foldenable = true; | | |
| 32 | foldmethod = "expr"; | | |
| 33 | #Default to treesitter folding | | |
| 34 | foldexpr = "v:lua.vim.treesitter.foldexpr()"; | | |
| 35 | }; | | |
| 36 | | | |
| 37 | | | |
| 38 | visuals = { | 22 | visuals = { |
| 39 | # notification system | 23 | # notification system |
| 40 | # https://github.com/j-hui/fidget.nvim | 24 | # https://github.com/j-hui/fidget.nvim |
| ... | @@ -110,7 +94,6 @@ | ... | @@ -110,7 +94,6 @@ |
| 110 | css.enable = true; | 94 | css.enable = true; |
| 111 | html.enable = true; | 95 | html.enable = true; |
| 112 | markdown.enable = true; | 96 | markdown.enable = true; |
| 113 | nix.enable = true; | | |
| 114 | python.enable = true; | 97 | python.enable = true; |
| 115 | rust.crates.enable = true; | 98 | rust.crates.enable = true; |
| 116 | rust.enable = true; | 99 | rust.enable = true; |
| ... | @@ -120,7 +103,11 @@ | ... | @@ -120,7 +103,11 @@ |
| 120 | # sort-lines: off | 103 | # sort-lines: off |
| 121 | | 104 | |
| 122 | ts.format.enable = false; # deno fmt is enabled elsewhere | 105 | ts.format.enable = false; # deno fmt is enabled elsewhere |
| 123 | nix.format.type = "nixfmt"; # looks so much nicer | 106 | nix = { |
| | 107 | enable = true; |
| | 108 | format.type = "nixfmt"; # looks so much nicer |
| | 109 | lsp.options.autoArchive = true; |
| | 110 | }; |
| 124 | }; | 111 | }; |
| 125 | formatter.conform-nvim = { | 112 | formatter.conform-nvim = { |
| 126 | enable = true; | 113 | enable = true; |