aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins.lua
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2021-08-05 01:56:13 +0800
committerjdhao <jdhao@hotmail.com>2021-08-05 01:57:35 +0800
commitc4d050e99da5a10ebe83e9229dcbd2b21758f54d (patch)
treea9b6c65ef3d1ba494976febbe4e08d90a0c51176 /lua/plugins.lua
parent4d3c038cb500de307eb95e6b7c1ec21f075323c7 (diff)
Use nvim-notify for showing messages
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r--lua/plugins.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua
index 58e8b7d..ccc01af 100644
--- a/lua/plugins.lua
+++ b/lua/plugins.lua
@@ -95,6 +95,7 @@ require('packer').startup(
use 'sainnhe/gruvbox-material'
use 'shaunsingh/nord.nvim'
use 'NTBBloodbath/doom-one.nvim'
+
-- colorful status line and theme
use 'vim-airline/vim-airline-themes'
use 'vim-airline/vim-airline'
@@ -106,6 +107,9 @@ require('packer').startup(
-- Highlight URLs inside vim
use 'itchyny/vim-highlighturl'
+ -- notification plugin
+ use {'rcarriga/nvim-notify', config = 'vim.notify = require("notify")'}
+
-- For Windows and Mac, we can open an URL in the browser. For Linux, it may
-- not be possible since we maybe in a server which disables GUI.
if (vim.g.is_win == 1) or (vim.g.is_mac == 1) then