forked from Shinonome/fred-neovim
TESTP
This commit is contained in:
+11
-13
@@ -2,7 +2,6 @@
|
|||||||
plugins = {
|
plugins = {
|
||||||
auto-save.enable = true;
|
auto-save.enable = true;
|
||||||
bufferline = {
|
bufferline = {
|
||||||
# TODO: remove this once you are used to not having it
|
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
options = {
|
options = {
|
||||||
@@ -33,15 +32,18 @@
|
|||||||
watch_gitdir = {follow_files = true;};
|
watch_gitdir = {follow_files = true;};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# FIXED: Migrated top-level booleans to Harpoon2 'settings' block
|
||||||
harpoon = {
|
harpoon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
save_on_toggle = true;
|
save_on_toggle = true;
|
||||||
save_on_change = true;
|
save_on_change = true;
|
||||||
sync_on_ui_close = false; # Equivalent to some older behaviors
|
enter_on_sendcmd = false;
|
||||||
# add other Harpoon2 specific settings here if needed
|
mark_branch = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
hop.enable = true;
|
hop.enable = true;
|
||||||
illuminate.enable = true;
|
illuminate.enable = true;
|
||||||
image.enable = true;
|
image.enable = true;
|
||||||
@@ -108,17 +110,11 @@
|
|||||||
};
|
};
|
||||||
follow_url_func = ''
|
follow_url_func = ''
|
||||||
function(url)
|
function(url)
|
||||||
-- Open the URL in the default web browser.
|
vim.fn.jobstart({"open", url})
|
||||||
vim.fn.jobstart({"open", url}) -- Mac OS
|
|
||||||
-- vim.fn.jobstart({"xdg-open", url}) -- linux
|
|
||||||
-- vim.cmd(':silent exec "!start ' .. url .. '"') -- Windows
|
|
||||||
-- vim.ui.open(url) -- need Neovim 0.10.0+
|
|
||||||
end'';
|
end'';
|
||||||
follow_img_func = ''
|
follow_img_func = ''
|
||||||
function(img)
|
function(img)
|
||||||
vim.fn.jobstart { "qlmanage", "-p", img } -- Mac OS quick look preview
|
vim.fn.jobstart { "qlmanage", "-p", img }
|
||||||
-- vim.fn.jobstart({"xdg-open", url}) -- linux
|
|
||||||
-- vim.cmd(':silent exec "!start ' .. url .. '"') -- Windows
|
|
||||||
end'';
|
end'';
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -144,12 +140,13 @@
|
|||||||
render-markdown.enable = true;
|
render-markdown.enable = true;
|
||||||
todo-comments.enable = true;
|
todo-comments.enable = true;
|
||||||
|
|
||||||
|
# FIXED: Updated folding syntax and disabled auto_install for read-only Nix store
|
||||||
treesitter = {
|
treesitter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
folding.enable = false;
|
folding.enable = false;
|
||||||
settings.indent.enable = true;
|
|
||||||
settings = {
|
settings = {
|
||||||
auto_install = true;
|
indent.enable = true;
|
||||||
|
auto_install = false;
|
||||||
ensure_installed = [
|
ensure_installed = [
|
||||||
"git_config"
|
"git_config"
|
||||||
"git_rebase"
|
"git_rebase"
|
||||||
@@ -158,6 +155,7 @@
|
|||||||
"gitignore"
|
"gitignore"
|
||||||
"bash"
|
"bash"
|
||||||
"python"
|
"python"
|
||||||
|
"nix"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user