Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I am working on adding support for sign_define to my colorscheme as I just recently learned about LSP and have been adding that to my neovim setup and I feel that signs would just make it pop even more. I did some research on sign_define, reading the help text and looking at examples such as comestics.lua, but am running into one issue.
See, when I was research how to port my colorscheme to lua I ended up going with a style I saw frequently of using one wrapper function and tables to keep the codebase clean and not have a million calls to one function in the codebase for setting colors. I wanting to keep this style for signs, but am having a hiccup. While I was able to easily add in most of the code for managing setting sign rules, my actual function to set them has an issue, it, apparently, is not passing the rules to sign_define using a dictionary. I am very new to lua and programming as a hole, but I thought that the {text = symbol.symbol...} portion of this function