this repo has no description
1{
2 config,
3 pkgs,
4 inputs,
5 ...
6}: let
7 nvim = pkgs.neovim.override {
8 configure = {
9 # Add Fennel to Lua path and require basic implementation
10 customRC = ''
11 set runtimepath^=${./nvim}
12 lua << EOF
13 vim.g.lsp_paths = {
14 ['lexical'] = "${pkgs.lexical}/bin/lexical",
15 ['nixd'] = "${pkgs.nixd}/bin/nixd",
16 ['typos_lsp'] = "${pkgs.typos-lsp}/bin/typos-lsp"
17 }
18 package.path = package.path .. ";${pkgs.luajitPackages.fennel}/share/lua/5.1/?.lua"
19 require('basic')
20 EOF
21 '';
22 packages.vimPackages = let
23 plugins = pkgs.vimPlugins;
24 ts = plugins.nvim-treesitter.withPlugins (
25 g: [
26 g.bibtex
27 g.comment
28 g.cpp
29 g.css
30 g.csv
31 g.dhall
32 g.diff
33 g.djot
34 g.dot
35 g.editorconfig
36 g.eex
37 g.elixir
38 g.erlang
39 g.fennel
40 g.fish
41 g.git_config
42 g.git_rebase
43 g.gitattributes
44 g.gitcommit
45 g.glsl
46 g.graphql
47 g.haskell
48 g.haskell_persistent
49 g.hcl
50 g.heex
51 g.html
52 g.javascript
53 g.jq
54 g.json
55 g.julia
56 g.just
57 g.make
58 g.mermaid
59 g.nickel
60 g.nix
61 g.po
62 g.printf
63 g.prolog
64 g.racket
65 g.regex
66 g.robots
67 g.ruby
68 g.rust
69 g.scheme
70 g.sql
71 g.ssh_config
72 g.terraform
73 g.toml
74 g.typescript
75 g.typst
76 g.yaml
77 g.zig
78 ]
79 );
80 in {
81 start = [
82 plugins.packer-nvim
83 plugins.vim-nickel
84 plugins.lua-utils-nvim
85 plugins.neorg
86 plugins.neorg-telescope
87 ts
88 ];
89
90 opt = [];
91 };
92 };
93 };
94in {
95 nixpkgs.overlays = [
96 inputs.neorg-overlay.overlays.default
97 ];
98
99 home.sessionVariables.EDITOR = "nvim";
100 home.packages = [nvim];
101}