Closed wyuenho closed 2 years ago
Thanks for the report! Users are free to load other packages and choose what to prioritise in auto-mode-alist
, but I agree we shouldn't match other files.
@Wilfred you just broke Jenkinsfile matching :)
This regex matches full path, so instead ^
there should be /
.
The regex currently will match any file that contains the substring
Jenkinsfile
, which means when I visitjenkinsfile-mode.el
, the major mode will switch to groovy-mode even when I'm looking at an elisp file.There's a much better mode for Jenkins out there already, leave syntax highlighting to that mode.