How can i get current programming language at current cursor. For example, if my cursor is inside script tag, then it should return js or javascript and if it is inside style tag, then it should be css and if it is outside both of this tag, then it should be inside html so it should also return html.
<html>
<script>
...
</script>
<style>
...
</style>
</html>