Messing around with neovim again

This commit is contained in:
Evie Litherland-Smith 2025-01-05 14:02:07 +00:00
parent f67fa546d7
commit 2532939134
2 changed files with 54 additions and 0 deletions

View file

@ -134,6 +134,7 @@
imports = [
./home/shell/default.nix
./home/scripts/default.nix
./home/neovim/default.nix
];
home = {
inherit username;

View file

@ -0,0 +1,53 @@
{ pkgs, ... }:
{
stylix.targets.neovim.enable = false;
stylix.targets.neovim.transparentBackground = {
main = true;
signColumn = true;
};
programs.neovim = {
enable = true;
# defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
withRuby = true;
withPython3 = true;
extraLuaConfig = ''
require "defaults"
'';
# extraPackages = with pkgs; [
# # Misc utils
# curl
# fzf
# git
# gnutar
# gnumake
# gnused
# gcc
# ripgrep
# tree-sitter
# # Language servers
# nil
# lua-language-server
# fortls
# nodePackages.pyright
# nodePackages.yaml-language-server
# nodePackages.vim-language-server
# nodePackages.bash-language-server
# # Null LSP formatters
# alejandra
# beautysh
# black
# nodePackages.fixjson
# fprettify
# isort
# python3Packages.mdformat
# shellharden
# stylua
# ];
};
}