disabled nixvim for now
This commit is contained in:
parent
b103004218
commit
e9844c71c4
8 changed files with 38 additions and 6 deletions
|
@ -133,8 +133,9 @@
|
|||
# services.xserver.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.defaultUserShell = pkgs.fish;
|
||||
# users.defaultUserShell = pkgs.fish;
|
||||
users.users.${userSettings.username} = {
|
||||
shell = pkgs.fish;
|
||||
isNormalUser = true;
|
||||
description = "Natalie Marks";
|
||||
extraGroups = ["networkmanager" "wheel" "docker"];
|
||||
|
|
|
@ -12,7 +12,7 @@ in {
|
|||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
#set up nixvim
|
||||
../../modules/nixvim
|
||||
# ../../modules/nixvim
|
||||
];
|
||||
home = {
|
||||
stateVersion = "23.05"; # Please read the comment before changing.
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
#set up nixvim
|
||||
../../modules/nixvim
|
||||
# ../../modules/nixvim
|
||||
];
|
||||
programs = import ../../modules/shared/homeManagerPrograms.nix {inherit inputs config pkgs lib userSettings systemSettings;};
|
||||
|
||||
|
|
|
@ -25,7 +25,13 @@
|
|||
settings = {
|
||||
keymap.preset = "super-tab";
|
||||
completion = {
|
||||
ghost_test.enabled = true;
|
||||
accept.auto_brackets.enabled = false;
|
||||
ghost_test.enabled = false;
|
||||
|
||||
list.selection = {
|
||||
preselect = true;
|
||||
auto_insert = false;
|
||||
};
|
||||
|
||||
documentation = {
|
||||
auto_show = true;
|
||||
|
@ -33,6 +39,29 @@
|
|||
window.border = "rounded";
|
||||
};
|
||||
};
|
||||
|
||||
menu.draw.components = {
|
||||
kind_icon.text.__raw = ''
|
||||
function(ctx)
|
||||
local kind_icon, _, _ = require('mini.icons').get('lsp', ctx.kind)
|
||||
-- Check for both nil and the default fallback icon
|
||||
if not kind_icon or kind_icon == '' then
|
||||
-- Use our configured kind_icons
|
||||
return require('blink.cmp.config').appearance.kind_icons[ctx.kind] or ""
|
||||
end
|
||||
return kind_icon
|
||||
end,
|
||||
-- Optionally, you may also use the highlights from mini.icons
|
||||
highlight = function(ctx)
|
||||
local _, hl, _ = require('mini.icons').get('lsp', ctx.kind)
|
||||
return hl
|
||||
end
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
fuzzy = {
|
||||
implementation = "prefer_rust_with_warning";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./blink.nix
|
||||
./lz-n.nix
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
programs.nixvim.programs = {
|
||||
programs.nixvim.plugins = {
|
||||
lz-n = {
|
||||
enable = true;
|
||||
};
|
||||
|
|
|
@ -59,9 +59,9 @@
|
|||
reboot-windows = "sudo efibootmgr --bootnext 0000; sudo reboot -h now";
|
||||
};
|
||||
shellInit = ''
|
||||
test -r '/Users/${userSettings.username}/.opam/opam-init/init.fish' && source '/Users/${userSettings.username}/.opam/opam-init/init.fish' > /dev/null 2> /dev/null; or true
|
||||
batman --export-env | source
|
||||
'';
|
||||
##test -r '/Users/${userSettings.username}/.opam/opam-init/init.fish' && source '/Users/${userSettings.username}/.opam/opam-init/init.fish' > /dev/null 2> /dev/null; or true
|
||||
};
|
||||
home-manager.enable = true;
|
||||
}
|
||||
|
|
|
@ -109,6 +109,7 @@ with pkgs; [
|
|||
|
||||
#math
|
||||
texlive.combined.scheme-full
|
||||
zathura
|
||||
|
||||
#fun things
|
||||
cowsay
|
||||
|
|
Loading…
Reference in a new issue