1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Use nvim-notify for showing messages

This commit is contained in:
jdhao
2021-08-05 01:56:13 +08:00
parent 4d3c038cb5
commit c4d050e99d
6 changed files with 14 additions and 27 deletions

View File

@@ -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