CudaText - nim-lang/Nim GitHub Wiki
Nim lexer is present in addons. To install it, use menu item "Plugins / Addons Manager / Install".
Plugin "LSP Client" supports Nim LSP server good. Config file: https://wiki.freepascal.org/CudaText_plugins#LSP_server_for_Nim