Abouzar Parvan
Abouzar Parvan
not sure about the colors though, let me know how do you want them to be
# Description `vim.tbl_map` is unreliable (especially on mac), so just provide a simple function to remove item from map for example you can add this to your `config.lua` ```lua local...
### Feature Description just saw this awesome project [lunarfig.nvim](https://github.com/darksinge/lunarfig.nvim) wanted to give it some visibility cc: @kylo252 ### Describe the alternatives you have considered _No response_ ### Support information _No...
# Description I'm not sure why we had this in the first place
https://github.com/arvancloud/redis/blob/b89a11fe35abaa7ba2ad60ebf7d0568a930b9075/redis.go#L510 const `hostmaster` is unused --- https://github.com/arvancloud/redis/blob/b89a11fe35abaa7ba2ad60ebf7d0568a930b9075/redis.go#L241 I think you've meant to use ```go r.Mbox = fmt.Sprintf("%s.%s",hostmaster, name) ```
by changing https://github.com/arvancloud/redins/blob/2c66e463d1dcb5d2b0a8106236f990810fe7c522/dns_types/dns_types.go#L72-L76 to ```go type MX_Record struct { Ttl uint32 `json:"ttl,omitempty"` Preference uint16 `json:"preference"` Host string `json:"host"` } ``` you can reduce struct of size 32 to be 24...
https://github.com/arvancloud/redins/blob/2c66e463d1dcb5d2b0a8106236f990810fe7c522/geoip/geoip.go#L36 https://github.com/arvancloud/redins/blob/2c66e463d1dcb5d2b0a8106236f990810fe7c522/geoip/geoip.go#L69 https://github.com/arvancloud/redins/blob/2c66e463d1dcb5d2b0a8106236f990810fe7c522/geoip/geoip.go#L119 can be simplified to `!g.Enable` --- https://github.com/arvancloud/redins/blob/2c66e463d1dcb5d2b0a8106236f990810fe7c522/healthcheck/healthcheck.go#L307 https://github.com/arvancloud/redins/blob/2c66e463d1dcb5d2b0a8106236f990810fe7c522/healthcheck/healthcheck.go#L370 can be simplified to `!h.Enable`
we should not force this line on users: https://github.com/LunarVim/lunar.nvim/blob/29eedf78c430ad9acebdcba814d77619edbe2bac/lua/lunar/init.lua#L7 see https://github.com/LunarVim/LunarVim/issues/3441 for more info --- also, we probably should not force this either: https://github.com/LunarVim/lunar.nvim/blob/29eedf78c430ad9acebdcba814d77619edbe2bac/lua/lunar/init.lua#L12