Skip to content

alglez/gdscript-mode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 

Repository files navigation

This is a major mode for GDScript. It's incomplete but I need this so it'll be as complete as I can make it soon.

As of right now it has basic syntax highlighting and a mostly working cycling indentation function.

Installation

(add-to-list 'load-path "/path/to/gdscript-mode.el")
(require 'gdscript-mode)

Customization

Use spaces instead of tabs. This defaults to whatever you have it set to. The editor defaults to tabs and I haven't found a way to change it so if you use spaces setting this to true might be useful.

(setq gdscript-tabs-mode t)

Set indentation width. Again I couldn't find how to change this in the default editor and I use 2 for everything.

(setq gdscript-tab-width 4)

Help

I've never written a major mode nor any Emacs Lisp so any help or feedback is apprecaited.

About

An Emacs major mode for GDScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%