about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2023-08-08T09·40+0300
committerclbot <clbot@tvl.fyi>2023-08-08T09·44+0000
commit447d9591433a4b26adad8e912fd60cdb90bafd5d (patch)
tree90694a093a84dbc671d29f459188c2be43fead72 /users
parent9b8eb424eb6412da1b3f645e4cd6f65fcdc67655 (diff)
feat(tazjin/emacs): use python-mode for Starlark files r/6469
Change-Id: I1b86ef7849f0754ba0ff37cb261b38bf9c5aed12
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9016
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'users')
-rw-r--r--users/tazjin/emacs/config/settings.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/users/tazjin/emacs/config/settings.el b/users/tazjin/emacs/config/settings.el
index 8b15b6cda183..8d542bd7ae48 100644
--- a/users/tazjin/emacs/config/settings.el
+++ b/users/tazjin/emacs/config/settings.el
@@ -45,4 +45,7 @@
 ;; Show time in 24h format
 (setq display-time-24hr-format t)
 
+;; Use python-mode for Starlark files.
+(add-to-list 'auto-mode-alist '("\\.star\\'" . python-mode))
+
 (provide 'settings)