Messing around with neovim again
This commit is contained in:
parent
f67fa546d7
commit
2532939134
|
@ -134,6 +134,7 @@
|
|||
imports = [
|
||||
./home/shell/default.nix
|
||||
./home/scripts/default.nix
|
||||
./home/neovim/default.nix
|
||||
];
|
||||
home = {
|
||||
inherit username;
|
||||
|
|
53
system/home/neovim/default.nix
Normal file
53
system/home/neovim/default.nix
Normal 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
|
||||
# ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue