Minor home-manager updates
This commit is contained in:
+5
-2
@@ -19,8 +19,11 @@
|
|||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings.user.name = "Syed Daanish";
|
settings = {
|
||||||
settings.user.email = "me@syedm.dev";
|
user.name = "Syed Daanish";
|
||||||
|
user.email = "me@syedm.dev";
|
||||||
|
init.defaultBranch = "main";
|
||||||
|
};
|
||||||
|
|
||||||
signing = {
|
signing = {
|
||||||
format = "openpgp";
|
format = "openpgp";
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ set -gx fish_greeting
|
|||||||
|
|
||||||
function nix
|
function nix
|
||||||
if test "$argv[1]" = "develop"; and test (count $argv) -eq 1
|
if test "$argv[1]" = "develop"; and test (count $argv) -eq 1
|
||||||
command nix develop -c fish $argv[2..-1]
|
command nix develop -c fish
|
||||||
else if test "$argv[1]" = "shell"
|
else if test "$argv[1]" = "shell"
|
||||||
env IN_NIX_SHELL=shell nix $argv -c fish
|
env IN_NIX_SHELL=shell NIXPKGS_ALLOW_UNFREE=1 nix $argv --impure -c fish
|
||||||
else
|
else
|
||||||
command nix $argv
|
command nix $argv
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -22,14 +22,11 @@
|
|||||||
bold_font = "Agave Nerd Font Bold";
|
bold_font = "Agave Nerd Font Bold";
|
||||||
# italic_font = "Operator Mono Lig";
|
# italic_font = "Operator Mono Lig";
|
||||||
bold_italic_font = "Hurmit Nerd Font Bold";
|
bold_italic_font = "Hurmit Nerd Font Bold";
|
||||||
emoji_font_family = "UnifontExMono Regular";
|
symbol_map = "U+1F300-U+1FAFF UnifontExMono Regular";
|
||||||
|
|
||||||
cursor_shape = "block";
|
cursor_shape = "block";
|
||||||
cursor_blink_interval = 0;
|
cursor_blink_interval = 0;
|
||||||
|
|
||||||
underline_position = "+3";
|
|
||||||
underline_thickness = "150%";
|
|
||||||
|
|
||||||
window_margin_width = 8;
|
window_margin_width = 8;
|
||||||
|
|
||||||
foreground = "#CDD6F4";
|
foreground = "#CDD6F4";
|
||||||
@@ -81,8 +78,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
keybindings = {
|
keybindings = {
|
||||||
"ctrl+click" = "open_link";
|
|
||||||
"ctrl+shift+click" = "open_link";
|
|
||||||
"ctrl+backspace" = "send_text all \\x17";
|
"ctrl+backspace" = "send_text all \\x17";
|
||||||
"ctrl+delete" = "send_text all \\x1b[1;53";
|
"ctrl+delete" = "send_text all \\x1b[1;53";
|
||||||
"ctrl+]" = "send_text all \\x10";
|
"ctrl+]" = "send_text all \\x10";
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ require("conform").setup({
|
|||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
nix = { "nixfmt" },
|
nix = { "nixfmt" },
|
||||||
|
ocaml = { "ocamlformat" },
|
||||||
},
|
},
|
||||||
|
|
||||||
format_on_save = {
|
format_on_save = {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ vim.lsp.config("lua_ls", {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
local servers = { "clangd", "solargraph", "hls", "nixd" }
|
local servers = { "clangd", "solargraph", "hls", "nixd", "ocamllsp" }
|
||||||
|
|
||||||
for _, server in ipairs(servers) do
|
for _, server in ipairs(servers) do
|
||||||
vim.lsp.config(server, { capabilities = capabilities })
|
vim.lsp.config(server, { capabilities = capabilities })
|
||||||
|
|||||||
Reference in New Issue
Block a user