From 7e47bd3f4d0508a7bfa1aeb6c1567e5e06fee326 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Sat, 16 Apr 2022 10:08:50 +0200 Subject: vim: add notify and comment-nvim plugins --- dotfiles/vim.lua | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'dotfiles') diff --git a/dotfiles/vim.lua b/dotfiles/vim.lua index 0e89ba6..05af6de 100644 --- a/dotfiles/vim.lua +++ b/dotfiles/vim.lua @@ -285,6 +285,34 @@ require("neogit").setup { }, } +-- Notify + +vim.cmd [[highlight link NotifyERRORBorder DiagnosticError]] +vim.cmd [[highlight link NotifyERRORIcon DiagnosticError]] +vim.cmd [[highlight link NotifyERRORTitle DiagnosticError]] + +vim.cmd [[highlight link NotifyWARNBorder DiagnosticWarn]] +vim.cmd [[highlight link NotifyWARNIcon DiagnosticWarn]] +vim.cmd [[highlight link NotifyWARNTitle DiagnosticWarn]] + +vim.cmd [[highlight link NotifyINFOBorder DiagnosticInfo]] +vim.cmd [[highlight link NotifyINFOIcon DiagnosticInfo]] +vim.cmd [[highlight link NotifyINFOTitle DiagnosticInfo]] + +vim.cmd [[highlight link NotifyDEBUGBorder DiagnosticHint]] +vim.cmd [[highlight link NotifyDEBUGIcon DiagnosticHint]] +vim.cmd [[highlight link NotifyDEBUGTitle DiagnosticHint]] + +vim.cmd [[highlight link NotifyDEBUGBorder GruvboxPurple]] +vim.cmd [[highlight link NotifyDEBUGIcon GruvboxPurple]] +vim.cmd [[highlight link NotifyDEBUGTitle GruvboxPurple]] + +vim.notify = require("notify") + +-- Comment + +require('Comment').setup {} + -- Local config function isModuleAvailable(name) -- cgit v1.2.3