Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mrjones2014/dotfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Jun 29, 2024
2 parents f3466ec + b0374df commit 139855e
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 26 deletions.
48 changes: 24 additions & 24 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions home-manager/modules/fzf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ in {
'';
functions = {
fzf-history-widget-wrapped = ''
history merge # make FZF search history from all sessions
fzf-history-widget
_prompt_move_to_bottom
'';
Expand Down
4 changes: 4 additions & 0 deletions hosts/server/hardware-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
options = [ "bind" ];
};
"/mnt/jellyfin" = {
device = "/dev/disk/by-label/media";
fsType = "ext4";
};
"/mnt/extra-storage" = {
device = "/dev/disk/by-label/jellyfin";
fsType = "ext4";
};
Expand Down
5 changes: 3 additions & 2 deletions nvim/lua/my/configure/autopairs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ return {
local npairs = require('nvim-autopairs')
local cond = require('nvim-autopairs.conds')
npairs.setup({})
-- <> pair for generics and stuff
npairs.add_rule(Rule('<', '>'):with_pair(cond.before_regex('%a+')):with_move(function(opts)
-- <> pair for generics and stuff,
-- complete <> if the preceding text is alphanumeric or :: for Rust
npairs.add_rule(Rule('<', '>'):with_pair(cond.before_regex('%a+:?:?', 3)):with_move(function(opts)
return opts.char == '>'
end))
end,
Expand Down

0 comments on commit 139855e

Please sign in to comment.