Add BUCK files to python mode alist
This commit is contained in:
parent
df95633cc1
commit
16d1df744c
1 changed files with 2 additions and 2 deletions
4
init.el
4
init.el
|
|
@ -201,8 +201,8 @@
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
;; Use python-mode for .bazel files
|
;; Use python-mode for .bazel files
|
||||||
(add-to-list 'auto-mode-alist '("\\.bazel\\'" . python-mode))
|
(add-to-list 'auto-mode-alist '("\\(.bazel\\|.buck\\)\\'" . python-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\(BUILD\\|WORKSPACE\\|MODULE\\)\\'" . python-mode))
|
(add-to-list 'auto-mode-alist '("\\(BUILD\\|WORKSPACE\\|MODULE\\BUCK)\\'" . python-mode))
|
||||||
|
|
||||||
(use-package emacs
|
(use-package emacs
|
||||||
:config
|
:config
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue