From 13a10383f190fdc2f4cc95c0b104627fe375c66f Mon Sep 17 00:00:00 2001
From: Luca Matei Pintilie <lucafulger@gmail.com>
Date: Sat, 1 Apr 2023 21:46:14 +0200
Subject: Improve IDE related configs

---
 .config/nvim/lua/plugins.lua | 34 ++++++++++++++++++++++++++++++++--
 1 file changed, 32 insertions(+), 2 deletions(-)

(limited to '.config/nvim/lua/plugins.lua')

diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua
index d261628..f4b9ba5 100644
--- a/.config/nvim/lua/plugins.lua
+++ b/.config/nvim/lua/plugins.lua
@@ -6,6 +6,9 @@ local PKGS = {
 	{ url = "https://github.com/kyazdani42/nvim-web-devicons.git" };
 	{ url = "https://github.com/ojroques/nvim-osc52.git" };
 	{ url = "https://github.com/chentoast/marks.nvim.git" };
+	{ url = "https://github.com/chrisgrieser/nvim-spider.git" };
+	{ url = "https://github.com/nvim-orgmode/orgmode.git" };
+	{ url = "https://github.com/rainbowhxch/beacon.nvim.git" };
 
 	{ url = "https://github.com/kyazdani42/nvim-tree.lua.git" };
 	{ url = "https://github.com/nvim-telescope/telescope.nvim.git" };
@@ -140,6 +143,19 @@ local function init_plugins()
 		-- Available modes: foreground, background
 		mode = "foreground"; -- Set the display mode.
 	})
+	require("beacon").setup({
+		enable = true;
+		size = 100;
+		fade = true;
+		minimal_jump = 10;
+		show_jumps = true;
+		focus_gained = false;
+		shrink = false;
+		timeout = 1000;
+		ignore_buffers = {};
+		ignore_filetypes = {};
+	})
+
 	vim.g.minimap_auto_start = 0
 	vim.g.minimap_highlight_range = 1
 	vim.g.minimap_highlight_search = 1
@@ -170,12 +186,26 @@ local function init_plugins()
 	require("devcontainer").setup({})
 	require("which-key").setup({})
 
+	local orgmode = require("orgmode")
+	orgmode.setup_ts_grammar()
 	require("nvim-treesitter.configs").setup({
-		ensure_installed = { "javascript"; "typescript"; "lua"; "c_sharp"; "jsonc" };
+		ensure_installed = {
+			"javascript";
+			"typescript";
+			"lua";
+			"c_sharp";
+			"jsonc";
+			"org";
+		};
 		sync_install = false;
 		auto_install = true;
-		highlight = { enable = true; disable = { "markdown"; "yaml"; "sql"; "help" } };
+		highlight = {
+			enable = true;
+			disable = { "markdown"; "yaml"; "sql"; "help" };
+			additional_vim_regex_highlighting = { "org" };
+		};
 	})
+	orgmode.setup({ org_default_notes_file = "~/.cache/org/refile.org" })
 
 	require("mini.surround").setup({})
 
-- 
cgit v1.2.3