
    \documentclass{article}
    \usepackage{glossaries}
    \setlength{\textwidth}{1cm}

    \newacronymstyle{long-short-nolbr}%
    {%
      \ifglshaslong{\glslabel}{\glsgenacfmt}{\glsgenentryfmt}%
    }%
    {%
      \renewcommand*{\GenericAcronymFields}{description={\the\glslongtok}}%
      \renewcommand*{\genacrfullformat}[2]{%
       \glsentrylong{##1}##2~
       (\protect\firstacronymfont{\glsentryshort{##1}})%
      }%
      \renewcommand*{\Genacrfullformat}[2]{%
       \Glsentrylong{##1}##2~
       (\protect\firstacronymfont{\glsentryshort{##1}})%
      }%
      \renewcommand*{\genplacrfullformat}[2]{%
       \glsentrylongpl{##1}##2~
       (\protect\firstacronymfont{\glsentryshortpl{##1}})%
      }%
      \renewcommand*{\Genplacrfullformat}[2]{%
       \Glsentrylongpl{##1}##2~
       (\protect\firstacronymfont{\glsentryshortpl{##1}})%
      }%
      \renewcommand*{\acronymentry}[1]{\acronymfont{\glsentryshort{##1}}}
      \renewcommand*{\acronymsort}[2]{##1}%
      \renewcommand*{\acronymfont}[1]{##1}%
      \renewcommand*{\firstacronymfont}[1]{\acronymfont{##1}}%
      \renewcommand*{\acrpluralsuffix}{\glspluralsuffix}%
    }

    \makeglossaries
    \setacronymstyle{long-short-nolbr}
        \setacronymstyle{long-short}
    \newacronym{nfa}{NFA}{nondeterministic finite automata}
    \begin{document}
    \gls{nfa}
    
    \end{document}