aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-06-05 23:44:51 +0200
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2023-06-05 23:44:51 +0200
commit992ab25765c3a53044e65774ae4329492fa241f7 (patch)
treefbb34785ca93871543f46c90d89b6b10e85345ad /lua/plugins
parent7faa6f1c7e2bfdabbfbcf079a4797f8f2e29d134 (diff)
downloadnvim-conf-992ab25765c3a53044e65774ae4329492fa241f7.tar.gz
nvim-conf-992ab25765c3a53044e65774ae4329492fa241f7.zip
updates
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/laravel.lua6
-rw-r--r--lua/plugins/neorg.lua20
-rw-r--r--lua/plugins/noice.lua16
-rw-r--r--lua/plugins/trouble.lua1
4 files changed, 42 insertions, 1 deletions
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
@@ -44,6 +44,22 @@ return {
},
},
{
+ view = "split",
+ filter = {
+ cmdline = "Notifications",
+ },
+ opts = {
+ enter = true,
+ render = "plain",
+ format = { "{message}" },
+ replace = true,
+ close = {
+ events = { "BufLeave" },
+ keys = { "q" },
+ },
+ },
+ },
+ {
view = "mini",
filter = {
cmdline = "w",
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 = { { "<leader><leader>t", "<cmd>TroubleToggle<cr>", desc = "Trouble toggle" } },
config = true,