diff --git a/site-start.d/404-qml-mode.el b/site-start.d/404-qml-mode.el new file mode 100644 index 0000000..4359399 --- /dev/null +++ b/site-start.d/404-qml-mode.el @@ -0,0 +1,16 @@ +;;; 403-qml-mode.el --- major mode for qt-qml code + +;;; Commentary: + +;;; Code: +(use-package qml-mode + :ensure t + :config + (add-hook 'python-mode-hook + (lambda () + (setq indent-tabs-mode nil) ; use only spaces and no tabs + (setq python-indent-offset 4) + ;;(setq indent-tabs-mode t) ; use tabs to indent + (add-to-list 'write-file-functions 'whitespace-cleanup)))) + +;;; 404-qml-mode.el ends here