Satori:zsh: change settings

This commit is contained in:
2021-06-11 10:41:57 +05:30
parent e01118ea1e
commit f27ecaf54f
5 changed files with 60 additions and 10 deletions

View File

@@ -31,6 +31,7 @@
rev = "f4c1e227be0a0c863c2de201155401950eda572e";
sha256 = "08s4az1gv6r5sl0jqkaf4yzibglibb7n2sivh7qccj8dz8id3883";
};
patches = [./nvim/test.patch];
})
];
};

View File

@@ -179,7 +179,6 @@ end
--presence.nvim
vim.g.presence_neovim_image_text = "Ballin"
vim.g.presence_main_image = "file"
--vim.g.presence_log_level = "debug"
--lsp and compe stuff i got from various places
local on_attach = function(client, bufnr)

27
configs/nvim/test.patch Normal file
View File

@@ -0,0 +1,27 @@
diff --color -ru a/lua/presence/file_assets.lua b/lua/presence/file_assets.lua
--- a/lua/presence/file_assets.lua 2021-06-09 07:56:33.416958354 +0530
+++ b/lua/presence/file_assets.lua 2021-06-09 07:57:23.336181080 +0530
@@ -80,7 +80,7 @@
hack = { "Hack", "hack" },
hpp = { "C++ header file", "c_plus_plus" },
hs = { "Haskell", "haskell" },
- html = { "HTML", "html" },
+ html = { "HTML", "html", "htm" },
hx = { "Haxe", "haxe" },
hxx = { "C++ header file", "c_plus_plus" },
ini = { "Configuration file", "config" },
diff --color -ru a/lua/presence/init.lua b/lua/presence/init.lua
--- a/lua/presence/init.lua 2021-06-10 09:03:09.696734425 +0530
+++ b/lua/presence/init.lua 2021-06-10 12:12:21.061551934 +0530
@@ -293,10 +293,10 @@
end
local env_vars = {
+ "XDG_RUNTIME_DIR",
"TEMP",
"TMP",
"TMPDIR",
- "XDG_RUNTIME_DIR",
}
for i = 1, #env_vars do