feat!: add neovim
This commit is contained in:
@@ -1,53 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
enable = true;
|
||||
languages.language = [
|
||||
{
|
||||
name = "nix";
|
||||
auto-format = true;
|
||||
formatter.command = "${pkgs.nixfmt}/bin/nixfmt";
|
||||
}
|
||||
{
|
||||
name = "typescript";
|
||||
auto-format = true;
|
||||
formatter = {
|
||||
command = "${pkgs.nodePackages_latest.prettier}/bin/prettier";
|
||||
args = [ "--parser" "typescript" ];
|
||||
};
|
||||
}
|
||||
{
|
||||
name = "tsx";
|
||||
auto-format = true;
|
||||
formatter = {
|
||||
command = "${pkgs.nodePackages_latest.prettier}/bin/prettier";
|
||||
args = [ "--parser" "typescript" ];
|
||||
};
|
||||
}
|
||||
];
|
||||
settings = {
|
||||
theme = "rose_pine";
|
||||
editor = {
|
||||
true-color = true;
|
||||
line-number = "relative";
|
||||
lsp.display-messages = true;
|
||||
cursor-shape = {
|
||||
insert = "block";
|
||||
normal = "block";
|
||||
};
|
||||
};
|
||||
keys.normal = {
|
||||
space.q = ":q";
|
||||
w = [ "move_next_word_start" "move_char_right" "collapse_selection" ];
|
||||
b = [ "move_prev_word_start" "collapse_selection" ];
|
||||
i = [ "insert_mode" "collapse_selection" ];
|
||||
a = [ "append_mode" "collapse_selection" ];
|
||||
};
|
||||
};
|
||||
themes = {
|
||||
rose_pine = {
|
||||
inherits = "rose_pine";
|
||||
"ui.background" = "transparent";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -8,11 +8,9 @@
|
||||
git = import ./git.nix;
|
||||
zsh = import ./zsh.nix;
|
||||
tmux = import ./tmux.nix { inherit pkgs; };
|
||||
helix = import ./helix.nix { inherit pkgs; };
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
nodePackages_latest.typescript-language-server
|
||||
nodejs_22
|
||||
pnpm
|
||||
gh
|
||||
|
||||
Reference in New Issue
Block a user