nordtheme.vim/colors
Julien Voisin da94312d82 Don't load plugin-related things when the relevant plugin isn't installed (#294)
Guard plugin and Neovim specific features in conditional blocks

Function calls are expensive in Vim script so to reduce the overhead of
processing the theme most plugin and Neovim specific features are now
wrapped in conditional blocks, e.g. Neovim highlighting groups are only
loaded when the global `nvim` variable is set while other plugins are
checked for their own `loaded_*` variable (common plugin pattern).

Some plugins provide no easy/straightforward way to be detected, so not
all blocks are behind conditions, but it's still a significant
improvement, and can always be improved in the future.


Co-authored-by: Julien Voisin <jvoisin@google.com>
Co-authored-by: Sven Greb <development@svengreb.de>

GH-294
2022-05-14 11:42:13 +02:00
..
nord.vim Don't load plugin-related things when the relevant plugin isn't installed (#294) 2022-05-14 11:42:13 +02:00