fix: neovim & wezterm

This commit is contained in:
Ryan Yin
2023-08-14 11:48:28 +08:00
parent bc9b29f62b
commit 9dbf2293ce
3 changed files with 7 additions and 14 deletions

View File

@@ -26,8 +26,6 @@ return {
{ import = "astrocommunity.scrolling.nvim-scrollbar" },
{ import = "astrocommunity.editing-support.auto-save-nvim" },
{ import = "astrocommunity.editing-support.todo-comments-nvim" },
-- clipboard history manager
{ import = "astrocommunity.editing-support.yanky-nvim" },
-- Language Support
---- Frontend & NodeJS
{ import = "astrocommunity.pack.typescript-all-in-one" },

View File

@@ -10,19 +10,12 @@
#e#############################################################################
{
xdg.configFile = {
# base config
"nvim" = {
# update AstroNvim
onChange = "${pkgs.neovim}/bin/nvim --headless +quitall";
source = astronvim;
};
# astronvim's config
"nvim".source = astronvim;
# my cusotom astronvim config, astronvim will load it after base config
# https://github.com/AstroNvim/AstroNvim/blob/v3.32.0/lua/astronvim/bootstrap.lua#L15-L16
"astronvim/lua/user" = {
# update AstroNvim
onChange = "${pkgs.neovim}/bin/nvim --headless +quitall";
source = ./astronvim_user;
};
"astronvim/lua/user".source = ./astronvim_user;
};
nixpkgs.config = {
@@ -41,7 +34,7 @@
withPython3 = true;
withNodeJs = true;
extraPackages = [];
extraPackages = with pkgs; [];
# currently we use lazy.nvim as neovim's package manager, so comment this one.
plugins = with pkgs.vimPlugins; [

View File

@@ -1,6 +1,7 @@
{
lib,
pkgs,
pkgs-unstable,
catppuccin-wezterm,
...
}:
@@ -16,6 +17,7 @@
programs.wezterm = {
enable = false;
package = pkgs-unstable.wezterm;
extraConfig =
let