Yeah sorta. There's a lot of details to be worked out. The main political party in the Scottish Parliament wants independence. But in the UK/Westminster Parliament (of which Scotland is a part), the Conservative ("Tory") government isn't so keen on the idea.
There's going to be a lot of horsetrading and politicing over what the referendum will actually say, e.g. if there was 2 questions "Do you want independence? Yes/No If not, do you want Scotland to have more power Yes/No", then the Scottish independence people can almost win either way, if 50.00001% vote for independence, they can claim it, if not, but a majority say "more power", then they can claim more power for Scottish Parliament
There's going to be a lot of horsetrading and politicing over what the referendum will actually say, e.g. if there was 2 questions "Do you want independence? Yes/No If not, do you want Scotland to have more power Yes/No", then the Scottish independence people can almost win either way, if 50.00001% vote for independence, they can claim it, if not, but a majority say "more power", then they can claim more power for Scottish Parliament