From d0fb59b86139f280add434c77fc305a8464dcd08 Mon Sep 17 00:00:00 2001 From: Patrick Stockwell Date: Tue, 15 Nov 2022 20:40:48 +1100 Subject: [PATCH] Add loaded check --- colors/vim-monokai-tasty.vim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/colors/vim-monokai-tasty.vim b/colors/vim-monokai-tasty.vim index 9b771b4..9d3b22f 100644 --- a/colors/vim-monokai-tasty.vim +++ b/colors/vim-monokai-tasty.vim @@ -1,6 +1,10 @@ " Vim color file " " Author: Patrick Stockwell +" +if exists('g:loaded_vim_monokai_tasty') + finish +endif hi clear if exists('syntax_on') @@ -609,3 +613,5 @@ hi link LspDiagnosticsUnderlineHint DiagnosticUnderlineHint " Must be at the end, because of ctermbg=234 bug. " https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ set background=dark + +let g:loaded_vim_monokai_tasty = 1