From 992ab25765c3a53044e65774ae4329492fa241f7 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Mon, 5 Jun 2023 23:44:51 +0200 Subject: updates --- lua/plugins/laravel.lua | 6 +++++- lua/plugins/neorg.lua | 20 ++++++++++++++++++++ lua/plugins/noice.lua | 16 ++++++++++++++++ lua/plugins/trouble.lua | 1 + 4 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 lua/plugins/neorg.lua (limited to 'lua') diff --git a/lua/plugins/laravel.lua b/lua/plugins/laravel.lua index 88f90a3..0252bc0 100644 --- a/lua/plugins/laravel.lua +++ b/lua/plugins/laravel.lua @@ -20,7 +20,11 @@ return { }, config = function() vim.g.laravel_log_level = "debug" - require("laravel").setup() + require("laravel").setup({ + route_info = { + position = "top", + } + }) require("telescope").load_extension "laravel" end, } diff --git a/lua/plugins/neorg.lua b/lua/plugins/neorg.lua new file mode 100644 index 0000000..2c44bcf --- /dev/null +++ b/lua/plugins/neorg.lua @@ -0,0 +1,20 @@ +return { + "nvim-neorg/neorg", + build = ":Neorg sync-parsers", + dependencies = { "nvim-lua/plenary.nvim" }, + config = function() + require("neorg").setup { + load = { + ["core.defaults"] = {}, -- Loads default behaviour + ["core.concealer"] = {}, -- Adds pretty icons to your documents + ["core.dirman"] = { -- Manages Neorg workspaces + config = { + workspaces = { + notes = "~/notes", + }, + }, + }, + }, + } + end, +} diff --git a/lua/plugins/noice.lua b/lua/plugins/noice.lua index df6e251..bf7537b 100644 --- a/lua/plugins/noice.lua +++ b/lua/plugins/noice.lua @@ -43,6 +43,22 @@ return { }, }, }, + { + view = "split", + filter = { + cmdline = "Notifications", + }, + opts = { + enter = true, + render = "plain", + format = { "{message}" }, + replace = true, + close = { + events = { "BufLeave" }, + keys = { "q" }, + }, + }, + }, { view = "mini", filter = { diff --git a/lua/plugins/trouble.lua b/lua/plugins/trouble.lua index 81dcff9..3f884fe 100644 --- a/lua/plugins/trouble.lua +++ b/lua/plugins/trouble.lua @@ -1,5 +1,6 @@ return { "folke/trouble.nvim", + enabled = false, dependencies = "kyazdani42/nvim-web-devicons", keys = { { "t", "TroubleToggle", desc = "Trouble toggle" } }, config = true, -- cgit v1.2.3