https://github.com/nulladmin1/nixvim
https://github.com/nulladmin1/nixvim
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nulladmin1/nixvim
- Owner: nulladmin1
- Created: 2024-11-07T00:46:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-13T00:00:52.000Z (about 1 year ago)
- Last Synced: 2025-02-13T01:19:44.850Z (about 1 year ago)
- Language: Nix
- Size: 778 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ❄️`NullAdmin1`'s Nixvim Flake ❄️

## Highlights:
Linting with nvim-lint:
| Language | Tool | Nixpkgs |
|--------------------|--------------------------------|-----------------------|
| `Bash` | `shellcheck` | `pkgs.shellcheck` |
| `JSON` | `jsonlint` | `jsonlint` |
| `C` | `cpplint` | `pkgs.cpplint` |
| `C++` | `cpplint` | `pkgs.cpplint` |
| `Go` | `golangcilint` | `pkgs.golangci-lint` |
| `Lua` | `selene` | `pkgs.selene` |
| `Python` | `ruff` | `pkgs.ruff` |
| `Javascript` | `eslint_d` | `pkgs.eslint_d` |
| `Javascript React` | `eslint_d` | `pkgs.eslint_d` |
| `Java` | `checkstyle` | `pkgs.checkstyle` |
| `Rust` | `clippy` (with `Rustaceanvim`) | `pkgs.clippy` |
| `CMake` | `cmakelint` | `pkgs.cmake-lint` |
| `Nix` | `statix` | `pkgs.statix` |
Formatting with conform.nvim:
| Language | Tool | Nixpkgs |
| ------------------ | ------------------------------- | ------------------------- |
| `Bash` | `shellcheck` | `pkgs.shellcheck` |
| `JSON` | `prettierd` | `pkgs.prettierd` |
| `C` | `clang-format` | `pkgs.libclang` |
| `C++` | `clang-format` | `pkgs.libclang` |
| `Markdown` | `prettierd` | `pkgs.prettierd` |
| `Go` | `gofmt` | `pkgs.go` |
| `Lua` | `stylua` | `pkgs.stylua` |
| `Python` | `ruff_format` | `pkgs.ruff` |
| `HTML` | `prettierd` | `pkgs.prettierd` |
| `CSS` | `prettierd` | `pkgs.prettierd` |
| `Javascript` | `prettierd` | `pkgs.prettierd` |
| `Javascript React` | `prettierd` | `pkgs.prettierd` |
| `Typescript` | `prettierd` | `pkgs.prettierd` |
| `Typescript React` | `prettierd` | `pkgs.prettierd` |
| `Java` | `google-java-format` | `pkgs.google-java-format` |
| `Rust` | `rustfmt` (with `Rustaceanvim`) | `pkgs.rustfmt` |
| `CMake` | `cmake_format` | `pkgs.cmake-format` |
| `Nix` | `alejandra` | `pkgs.alejandra` |
## Configuring
To start configuring, just add or modify the nix files in `./config`.
If you add a new configuration file, remember to add it to the
[`config/default.nix`](./config/default.nix) file
## Testing your new configuration
To test your configuration simply run the following command
```
nix run .
```
## Credits
I mostly pulled a lot of code from these people
- [dc-tec](https://github.com/dc-tec/nixvim)
- [khaneliman](https://github.com/khaneliman/khanelivim)