Right now I'm creating a plugin of sorts for Vim, it's meant to simply have all kinds of utility functions to put in your statusline, here's the link: https://github.com/Greduan/vim-usefulstatusline
So here's my question, my next addition is meant to be a little output that tells you whether you have CAPS lock on or off, it would output [CAPSLOCK]
if it's turned on, and nothing if it's turned off.
Any help is greatly appreciated. :)