Commit graph

36 commits

Author SHA1 Message Date
f30afe506b
feat(nvim): setup for ipynb dev work
All checks were successful
/ check (push) Successful in 20s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
Setup:
- molten (run python code)
- otter (lsp in markdown codeblocks)
- jupytext (convert .ipynb files to .md files transparently)
- image (display images inside neovim (e.g. matplotlib graphs))
2024-10-12 21:16:07 +02:00
9f59290f50
fix(nvim): clean up some old configuration stuff
All checks were successful
/ check (push) Successful in 18s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
- Remove `typos` from `plugins.lints` (we already use `typos_lsp`)
- Comment out unused lsp servers. They are big and we don't want to
  increase the closure/package size too much.
2024-10-09 09:18:07 +02:00
63f6aa75be
[chore] flake.lock: update inputs
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6e6b3dd395c3b1eb9be9f2d096383a8d05add030' (2024-10-04)
  → 'github:NixOS/nixpkgs/1bfbbbe5bbf888d675397c66bfdb275d0b99361c' (2024-10-07)
• Updated input 'nixvim':
    'github:nix-community/nixvim/6594472fd275f6dcf5a9fba4a83d2f7fa2cf2b8a' (2024-10-05)
  → 'github:nix-community/nixvim/eda14029813906b1ef355823de237d86fea59908' (2024-10-08)
• Updated input 'unstable':
    'github:NixOS/nixpkgs/bc947f541ae55e999ffdb4013441347d83b00feb' (2024-10-04)
  → 'github:NixOS/nixpkgs/c31898adf5a8ed202ce5bea9f347b1c6871f32d1' (2024-10-06)
2024-10-09 09:12:59 +02:00
215b8f99e5
feat(nvim): enable lsp-lines
All checks were successful
/ check (push) Successful in 20s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
Pretty lines when lsp-ing
2024-10-06 00:07:42 +02:00
a5e235d138
fix(nvim): warning caused by update
All checks were successful
/ check (push) Successful in 20s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
2024-09-30 09:16:05 +02:00
6f6ad6b711
[chore] flake.lock: update inputs
All checks were successful
/ check (push) Successful in 20s
/ build (audiomenu) (push) Successful in 2s
/ build (docs) (push) Successful in 2s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/e1391fb22e18a36f57e6999c7a9f966dc80ac073' (2024-07-03)
  → 'github:nix-community/home-manager/208df2e558b73b6a1f0faec98493cb59a25f62ba' (2024-09-07)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6f6c45b5134a8ee2e465164811e451dcb5ad86e3' (2024-09-03)
  → 'github:NixOS/nixpkgs/f4c846aee8e1e29062aa8514d5e0ab270f4ec2f9' (2024-09-08)
• Updated input 'nixvim':
    'github:nix-community/nixvim/2ef974182ef62a6a6992118f0beb54dce812ae9b' (2024-09-04)
  → 'github:nix-community/nixvim/fc7e9b29271a03459191955f78d4128451b7cd81' (2024-09-10)
• Updated input 'nixvim/nuschtosSearch':
    'github:NuschtOS/search/9ca36bf5d8de1e51454a255208e6f6bffac24f42' (2024-09-03)
  → 'github:NuschtOS/search/9eaa0246f803758c26f00d21188de00098b79c8b' (2024-09-10)
• Updated input 'unstable':
    'github:NixOS/nixpkgs/ad416d066ca1222956472ab7d0555a6946746a80' (2024-09-04)
  → 'github:NixOS/nixpkgs/574d1eac1c200690e27b8eb4e24887f8df7ac27c' (2024-09-06)
2024-09-11 08:10:25 +02:00
329397fc04
[chore] flake.lock: update inputs
All checks were successful
/ check (push) Successful in 20s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/797f7dc49e0bc7fab4b57c021cdf68f595e47841' (2024-08-22)
  → 'github:NixOS/nixpkgs/2527da1ef492c495d5391f3bcf9c1dd9f4514e32' (2024-08-24)
• Updated input 'nixvim':
    'github:nix-community/nixvim/4c8d3559ac4548723eeba9861a94ab63219b0d43' (2024-08-23)
  → 'github:nix-community/nixvim/4814147442cd3f12f8160ecad9e36751f68cdc22' (2024-08-27)
• Updated input 'nixvim/git-hooks':
    'github:cachix/git-hooks.nix/6cedaa7c1b4f82a266e5d30f212273e60d62cb0d' (2024-08-21)
  → 'github:cachix/git-hooks.nix/c8a54057aae480c56e28ef3e14e4960628ac495b' (2024-08-23)
• Updated input 'nixvim/nuschtosSearch':
    'github:NuschtOS/search/a05d1805f2a2bc47d230e5e92aecbf69f784f3d0' (2024-08-18)
  → 'github:NuschtOS/search/5a08d691de30b6fc28d58ce71a5e420f2694e087' (2024-08-25)
• Updated input 'nixvim/treefmt-nix':
    'github:numtide/treefmt-nix/1d07739554fdc4f8481068f1b11d6ab4c1a4167a' (2024-08-16)
  → 'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951' (2024-08-22)
• Updated input 'unstable':
    'github:NixOS/nixpkgs/c374d94f1536013ca8e92341b540eba4c22f9c62' (2024-08-21)
  → 'github:NixOS/nixpkgs/d0e1602ddde669d5beb01aec49d71a51937ed7be' (2024-08-24)
2024-08-28 12:43:26 +02:00
09f35f5125
[fix] nvim: luasnip settings changed
All checks were successful
/ check (push) Successful in 20s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
2024-08-10 14:51:09 +02:00
854e7d6af0
[fix] nvim: re-enable pylance
All checks were successful
/ check (push) Successful in 24s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 13s
Also switch to the ruff beta lsp server
2024-07-16 23:13:36 +02:00
github-actions[bot]
e06a7584b5 [fix] nvim: treesitter settings renamed
All checks were successful
/ check (push) Successful in 24s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 13s
2024-07-12 10:09:43 +02:00
849959a19e
[fix] nvim: switch nix formatter to nixfmt-rfc-style
All checks were successful
/ check (push) Successful in 24s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 13s
2024-07-04 22:33:55 +02:00
91284a73ca
[fix] fmt: change formatter to nixfmt-rfc-style
Alejandra has ads and splits files into too many new lines.
2024-07-04 22:33:55 +02:00
dc130e4723
[feat] nvim: highlight lua codesnippets
All checks were successful
/ check (push) Successful in 29s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 24s
/ build (nvim) (push) Successful in 16s
Adding a comment with the language will automatically highlight the
code:

```nix
luaCode = /*lua*/ ''
    function() return "look ma I'm highlighted!" end
'';
```

(May only work using treesitter)
2024-07-02 09:44:11 +02:00
6c248db49a
[fix] nvim: I broke it again ma
All checks were successful
/ check (push) Successful in 24s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 13s
Major refactoring in order to fix it T-T
2024-06-23 15:52:29 +02:00
ac30838621
[fix] nvim: system module broke plugins
All checks were successful
/ check (push) Successful in 24s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 13s
The architecture of nixvim doesn't let me use NixOS modules T-T, I need
to use manual imports instead.
2024-06-23 14:30:23 +02:00
ac5e62a37c
[feat] nvim: enable more lsps
All checks were successful
/ check (push) Successful in 28s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 23s
/ build (nvim) (push) Successful in 15s
Also, don't install rust-analyzer, install it externally (e.g. rustup)
2024-06-22 19:13:30 +02:00
github-actions[bot]
09e9158b85 [chore] flake.lock: update
Also fix neovim errors

Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/845a5c4c073f74105022533907703441e0464bc3?narHash=sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A%3D' (2024-06-04)
  → 'github:nix-community/home-manager/a1fddf0967c33754271761d91a3d921772b30d0e?narHash=sha256-BmO8d0r%2BBVlwWtMLQEYnwmngqdXIuyFzMwvmTcLMee8%3D' (2024-06-16)
• Updated input 'lix':
    '068576042b.tar.gz?narHash=sha256-/hsqsiw3p5qMpazedgFFZF2sQghbCJIoef7XCpegTXw%3D' (2024-06-13)
  → 'e44dcd63c4.tar.gz?narHash=sha256-cAkgZoiP2eHB%2BV2cPJMcXACzdaWZIMgI5sg4vpH%2BDYo%3D' (2024-06-20)
• Updated input 'lix-module':
    '4e25f1ab68.tar.gz?narHash=sha256-m8XYt8NU2T4gvkien7H7LFGXHhSA5z4tHOeuXQ3DJi4%3D' (2024-06-06)
  → '909e593ae9.tar.gz?narHash=sha256-DdcMvX9r29uHMlz7P1Shgs5xZw9WkZ4ObMGYzwROAiw%3D' (2024-06-19)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/ae5c8dcc4d0182d07d75df2dc97112de822cb9d6?narHash=sha256-SuPne4BMqh9/IkKIAG47Cu5qfmntAaqlHdX1yuFoDO0%3D' (2024-06-14)
  → 'github:NixOS/nixos-hardware/083823b7904e43a4fc1c7229781417e875359a42?narHash=sha256-hxQBUtDbFOCCW1CsFZTS9Q5Ov1ZKdJgbBZHSez1M6iA%3D' (2024-06-20)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/cc54fb41d13736e92229c21627ea4f22199fee6b?narHash=sha256-US1tAChvPxT52RV8GksWZS415tTS7PV42KTc2PNDBmc%3D' (2024-06-12)
  → 'github:NixOS/nixpkgs/dd457de7e08c6d06789b1f5b88fc9327f4d96309?narHash=sha256-wM9v2yIxClRYsGHut5vHICZTK7xdrUGfrLkXvSuv6s4%3D' (2024-06-19)
• Updated input 'nixvim':
    'github:nix-community/nixvim/7a2a25af02be25987aa43cd681312f4b5ba12317?narHash=sha256-NIJZxmY2CWsqJK/9BQCRSHfcCY9K6thjq/1XtJobxmU%3D' (2024-06-14)
  → 'github:nix-community/nixvim/744dfea48bdd331e66b9e874822559fa6fae98af?narHash=sha256-artyEBzWUsNXtYj7jBr816wRJj2Y3DYDHw6ECrQotX0%3D' (2024-06-20)
• Updated input 'nixvim/treefmt-nix':
    'github:numtide/treefmt-nix/1cb529bffa880746a1d0ec4e0f5076876af931f1?narHash=sha256-1TZQcdETNdJMcfwwoshVeCjwWfrPtkSQ8y8wFX3it7k%3D' (2024-06-11)
  → 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81?narHash=sha256-ULzoKzEaBOiLRtjeY3YoGFJMwWSKRYOic6VNw2UyTls%3D' (2024-06-16)
• Updated input 'unstable':
    'github:NixOS/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420?narHash=sha256-4Zu0RYRcAY/VWuu6awwq4opuiD//ahpc2aFHg2CWqFY%3D' (2024-06-13)
  → 'github:NixOS/nixpkgs/c00d587b1a1afbf200b1d8f0b0e4ba9deb1c7f0e?narHash=sha256-FUZpz9rg3gL8NVPKbqU8ei1VkPLsTIfAJ2fdAf5qjak%3D' (2024-06-18)
2024-06-22 19:06:38 +02:00
37c3c08113
[feat] nvim: nil-ls enable autoArchive/EvaluateInputs
All checks were successful
/ check (push) Successful in 24s
/ build (docs) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 11s
Makes nil-ls more useful
2024-06-19 12:47:03 +02:00
63f529704d
[fix] nixvim: rollback to nixpkgs-stable
All checks were successful
/ check (push) Successful in 28s
/ build (docs) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 23s
/ build (nvim) (push) Successful in 14s
See [nixvim/#1699][1] for context.

[1]: <https://github.com/nix-community/nixvim/issues/1699>
2024-06-14 23:55:46 +02:00
github-actions[bot]
89c614818f flake.lock: Update
Flake lock file updates:

• Updated input 'devshell':
    'github:numtide/devshell/12e914740a25ea1891ec619bb53cf5e6ca922e40?narHash=sha256-wtBhsdMJA3Wa32Wtm1eeo84GejtI43pMrFrmwLXrsEc%3D' (2024-04-19)
  → 'github:numtide/devshell/1ebbe68d57457c8cae98145410b164b5477761f4?narHash=sha256-Q0OEFqe35fZbbRPPRdrjTUUChKVhhWXz3T9ZSKmaoVY%3D' (2024-06-03)
• Updated input 'home-manager':
    'github:nix-community/home-manager/a631666f5ec18271e86a5cde998cba68c33d9ac6?narHash=sha256-rNObca6dm7Qs524O4st8VJH6pZ/Xe1gxl%2BRx6mcWYo0%3D' (2024-05-26)
  → 'github:nix-community/home-manager/845a5c4c073f74105022533907703441e0464bc3?narHash=sha256-vWSkg6AMok1UUQiSYVdGMOXKD2cDFnajITiSi0Zjd1A%3D' (2024-06-04)
• Updated input 'lix':
    '3df013597d.tar.gz?narHash=sha256-3sOBY0cNLgIFNk0YhBw%2Bkz57JLVphHTSypAKnkYz01g%3D' (2024-05-30)
  → '4f94531209.tar.gz?narHash=sha256-cxK0tBbUxXtIYKLbjHpH%2BswiIzEoj61c82I/pN/yBoE%3D' (2024-06-07)
• Updated input 'lix-module':
    'b4b38e6b5f.tar.gz?narHash=sha256-joKTxvywYlKspGGKOIXho6oRbggOPyayEqAyuZCavO0%3D' (2024-05-30)
  → '4e25f1ab68.tar.gz?narHash=sha256-m8XYt8NU2T4gvkien7H7LFGXHhSA5z4tHOeuXQ3DJi4%3D' (2024-06-06)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/8251761f93d6f5b91cee45ac09edb6e382641009?narHash=sha256-uuEkErFVsFdg2K0cKbNQ9JlFSAm/xYqPr4rbPLI91Y8%3D' (2024-05-29)
  → 'github:NixOS/nixos-hardware/d6c6cf6f5fead4057d8fb2d5f30aa8ac1727f177?narHash=sha256-cz3P5MZffAHwL2IQaNzsqUBsJS%2Bu0J/AAwArHMAcCa0%3D' (2024-06-05)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/805a384895c696f802a9bf5bf4720f37385df547?narHash=sha256-F/TKWETwB5RaR8owkPPi%2BSPJh83AQsm6KrQAlJ8v/uA%3D' (2024-05-31)
  → 'github:NixOS/nixpkgs/0b8e7a1ae5a94da2e1ee3f3030a32020f6254105?narHash=sha256-WZ1s48OODmRJ3DHC%2BI/DtM3tDRuRJlNqMvxvAPTD7ec%3D' (2024-06-05)
• Updated input 'nixvim':
    'github:nix-community/nixvim/6ff3493c9bc85063ae829f0c25c21be3bde5c5b3?narHash=sha256-cKEGHGLaZoiNroMd34RrDgVDB7xgfff7HBShMz7cEy8%3D' (2024-05-30)
  → 'github:nix-community/nixvim/36f2e51b28ee3389a67ed5e9ed5c4bd388b06918?narHash=sha256-0PhFvfc4wDjba1cus2ALsfn0wVizeKkcuF%2BaqvDJivg%3D' (2024-06-06)
• Updated input 'nixvim/flake-parts':
    'github:hercules-ci/flake-parts/8dc45382d5206bd292f9c2768b8058a8fd8311d9?narHash=sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78%3D' (2024-05-16)
  → 'github:hercules-ci/flake-parts/2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8?narHash=sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw%3D' (2024-06-01)
• Removed input 'nixvim/flake-root'
• Updated input 'nixvim/git-hooks':
    'github:cachix/git-hooks.nix/0e8fcc54b842ad8428c9e705cb5994eaf05c26a0?narHash=sha256-xrsYFST8ij4QWaV6HEokCUNIZLjjLP1bYC60K8XiBVA%3D' (2024-05-20)
  → 'github:cachix/git-hooks.nix/cc4d466cb1254af050ff7bdf47f6d404a7c646d1?narHash=sha256-7XfBuLULizXjXfBYy/VV%2BSpYMHreNRHk9nKMsm1bgb4%3D' (2024-06-06)
• Updated input 'nixvim/treefmt-nix':
    'github:numtide/treefmt-nix/2fba33a182602b9d49f0b2440513e5ee091d838b?narHash=sha256-wJqHMg/K6X3JGAE9YLM0LsuKrKb4XiBeVaoeMNlReZg%3D' (2024-05-17)
  → 'github:numtide/treefmt-nix/3eb96ca1ae9edf792a8e0963cc92fddfa5a87706?narHash=sha256-u10aDdYrpiGOLoxzY/mJ9llST9yO8Q7K/UlROoNxzDw%3D' (2024-06-01)
• Updated input 'unstable':
    'github:NixOS/nixpkgs/ad57eef4ef0659193044870c731987a6df5cf56b?narHash=sha256-SzDKxseEcHR5KzPXLwsemyTR/kaM9whxeiJohbL04rs%3D' (2024-05-29)
  → 'github:NixOS/nixpkgs/e8057b67ebf307f01bdcc8fba94d94f75039d1f6?narHash=sha256-pL9jeus5QpX5R%2B9rsp3hhZ%2BuplVHscNJh8n8VpqscM0%3D' (2024-06-05)
2024-06-08 22:28:19 +02:00
41ae208e61
[feat] neovim: add more linters 2024-06-01 20:21:57 +02:00
1da87b1153
[feat] flake: prepare for 24.05
We add an `unstable` overlay (available through `pkgs.unstable`) and pin
nixpkgs to the `nixos-24.05` branch. Neovim is still kept in unstable (I
want to live in the bleeding edge c:).
2024-06-01 20:21:28 +02:00
99f73979a9
[fix] disable pyright
I hate it
2024-05-21 21:57:58 +02:00
da21f7a14c
[fix] neovim: reduce closure size
Also re-enable all grammars
2024-05-04 23:04:34 +02:00
39c2fb096c
[fix] *.nix: reformat with alejandra 2024-05-04 20:59:17 +02:00
6be1975d06
[feature] nvim: specify tresitter grammars
Currently we use a lot of tree sitter grammars
2024-05-04 20:21:33 +02:00
6ff17a171a
fix(nvim): Remove deleted package rnix-lsp 2024-04-10 19:33:02 +02:00
ce37942672
fix: Format according to nixfmt-rfc-style 2024-04-05 12:04:23 +02:00
e3e96bbf40
fix: Change formatter to nixfmt-rfc-style
Nix standard formatter (as of RFC166)
2024-04-05 11:49:48 +02:00
fd67f6c079
feat(nvim): Enable bacon plugin 2024-04-02 17:05:17 +02:00
3a792e22f8
fix(nvim): Nixvim trouble module options rework 2024-03-26 21:05:25 +01:00
ae83b3e9b2
fix(nvim): Lualine duplicated elements 2024-03-17 00:25:29 +01:00
6d0b7a0ed7
fix(nvim): Update cmp config due to rewrite 2024-03-08 23:45:23 +01:00
c1afc70cd9
feat(nvim): Enable telescope extensions 2024-03-04 22:20:16 +01:00
a51ecec28b
feat(nvim): Add noice plugin (very nice) 2024-03-04 22:20:15 +01:00
fc514537ca
fix(nvim): Translate lspconfig to nixvim 2024-03-02 22:54:58 +01:00