I have this simple example of jsx code. How can I change the settings so that the indention of the code snippet gets right? Btw in case somebody has a decent link or example of listings which support syntax hightlighting for newer languages like golang please let me know!
\usepackage{listings}
\usepackage{xcolor}
\definecolor{hellgelb}{rgb}{1,1,0.9}
\lstset{
float=hbp,
basicstyle=\ttfamily\color{black}\small\smaller,
identifierstyle=\color{black},
keywordstyle=\color{black},
stringstyle=\color{black},
commentstyle=\color{black},
columns=false,
tabsize=2,
frame=single,
extendedchars=true,
showspaces=false,
showstringspaces=false,
numbers=left,
numberstyle=\tiny,
breaklines=true,
backgroundcolor=\color{hellgelb},
breakautoindent=false
}


\documentclass{...}and ending with\end{document}. – DG' Oct 14 '19 at 20:10mintedpackage instead oflistings– siracusa Oct 15 '19 at 00:42