my neovim configuration

update notify

Changed files
+44 -27
lua
+1
init.lua
···
require "ptero.keymaps"
require "ptero.theme"
require "ptero.autocommands"
+
vim.notify("UwU hai :3", 3)
+10 -1
lua/ptero/configs/notify.lua
···
local utils = require("ptero/utils")
local notify = utils.Load("notify")
+
local icons = require("ptero.icons")
+
notify.setup({
-
background_colour = "#000000",
+
render = "compact",
+
icons = {
+
DEBUG = icons.uiv2.Debug,
+
ERROR = icons.uiv2.Error,
+
INFO = icons.uiv2.Info,
+
TRACE = icons.uiv2.Trace,
+
WARN = icons.uiv2.Warn
+
},
})
vim.notify = notify
+7
lua/ptero/icons.lua
···
return {
+
uiv2 = {
+
Debug = "",
+
Error = "",
+
Info = "",
+
Trace = "✎",
+
Warn = "",
+
},
kind = {
Text = "t",
Method = "m",
+26 -26
lua/ptero/plugins.lua
···
local utils = require("ptero/utils")
require("lazy").setup({
-
{
-
"catppuccin/nvim",
-
name = "catppuccin",
-
priority = 1000,
-
config=function() require("ptero.configs.catppuccin") end
-
},
+
{
+
"catppuccin/nvim",
+
name = "catppuccin",
+
priority = 1000,
+
config=function() require("ptero.configs.catppuccin") end
+
},
-- better notifications
-
{
-
"rcarriga/nvim-notify",
-
config=function() require("ptero.configs.notify") end
-
},
+
{
+
"rcarriga/nvim-notify",
+
config=function() require("ptero.configs.notify") end
+
},
"nvim-lua/plenary.nvim",
···
-- completeion
{
"hrsh7th/nvim-cmp",
-
config=function() require('ptero.configs.cmp') end,
+
config=function() require('ptero.configs.cmp') end,
dependencies = {
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-path",
-
{
-
"saadparwaiz1/cmp_luasnip",
-
dependencies = {
-
"L3MON4D3/luasnip"
-
}
-
},
+
{
+
"saadparwaiz1/cmp_luasnip",
+
dependencies = {
+
"L3MON4D3/luasnip"
+
}
+
},
},
},
-
-- lsp
-
"neovim/nvim-lspconfig",
+
-- lsp
+
"neovim/nvim-lspconfig",
-
{
-
"williamboman/mason.nvim",
-
config=function() require('ptero.configs.mason') end,
-
dependencies = {
-
"williamboman/mason-lspconfig.nvim"
-
}
-
},
+
{
+
"williamboman/mason.nvim",
+
config=function() require('ptero.configs.mason') end,
+
dependencies = {
+
"williamboman/mason-lspconfig.nvim"
+
}
+
},
-- visual keybindings
"folke/which-key.nvim",