mirror of
https://github.com/zoriya/flake.git
synced 2026-06-05 19:45:58 +00:00
Add :ro for read only folders on prompt
This commit is contained in:
@@ -88,6 +88,7 @@
|
||||
directory = {
|
||||
truncate_to_repo = false;
|
||||
fish_style_pwd_dir_length = 1;
|
||||
read_only = ":ro";
|
||||
style = "bold fg:#00AFFF";
|
||||
};
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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" },
|
||||
|
||||
Reference in New Issue
Block a user