\lstinputlisting[
numbers=left,
breaklines=true,
caption={Kalukasjon av esker},
label={list:LuaKalk},
language={[5.0]Lua} ,
firstline=139,
lastline=168]
{code/Main.lua}
\ref{LuaKalk}
Can't seem to be able to refer this listing, figures and cite works fine. Suggestions? Writing on my bachelor's paper over at OverLeaf
tcpinputlisting
, this seems to be justlistings
– daleif Apr 20 '18 at 11:58\ref{list:LuaKalk}
. – Tiuri Apr 20 '18 at 12:00