Add :ro for read only folders on prompt

This commit is contained in:
2025-01-10 20:43:05 +01:00
parent 37f08a45a6
commit 999b717f4e
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -88,6 +88,7 @@
directory = {
truncate_to_repo = false;
fish_style_pwd_dir_length = 1;
read_only = ":ro";
style = "bold fg:#00AFFF";
};
+2 -1
View File
@@ -30,11 +30,12 @@ return {
kind = "progress",
cond = function(message)
local client = vim.tbl_get(message.opts, "progress", "client")
return client == "ltex"
return client == "ltex" or client == "lua_ls"
end,
},
opts = { skip = true },
},
},
},
after = function(plug)
+1
View File
@@ -13,6 +13,7 @@ return {
{ "<leader>zh", "<cmd>Telescope help_tags<CR>", desc = "Read help" },
-- maybe i should move those elsewhere
{ "<leader>g.", "<cmd>Git add -A<CR>", desc = "Git add all" },
{ "<leader>gc", "<cmd>Git commit<CR>", desc = "Git commit" },
{ "<leader>gC", "<cmd>Git commit --amend<CR>", desc = "Git commit amend" },
{ "<leader>gp", "<cmd>Git! push<CR>", desc = "Git push" },