akoaysigod / gdscript-mode

An Emacs major mode for GDScript
12 stars 11 forks source link

can't indent after function head #3

Open ratherAnonymous opened 6 years ago

ratherAnonymous commented 6 years ago

extends KinematicBody2D

var motion = Vector2()

func _physics_process(delta): if Input.is_action_pressed("ui_right"): motion.x = 100

I'm not able to indent the 4th line of code with a TAB. Using spaces seems to work, but I wished I could indent it with a hit of the TAB key.

akoaysigod commented 6 years ago

Your example seems to be working fine for me.

ratherAnonymous commented 6 years ago

That's weird. I'm using Emacs 25.3. Maybe that has anything to do with it.

NathanLovato commented 4 years ago

I can't reproduce this bug either, indenting with Tab is working fine here too.